Support

Please read the Frequently Asked Questions and the documentation before asking for support. Thank you!

For help or support questions, bug reports, and feature requests, use the WordPress Support Forums. Please open a new topic there (with the tag “wp-table-reloaded”). You should include as many information as possible, like version information, a URL to your site, etc. This makes it much easier for me to help you. You may write in English or German. Before posting though, please search through the existing topics. Maybe your question has been answered before? Thank you!

If my answer helps you to solve your problem, it is recommend to do a small donation, as I invest a lot of free time in answering support questions.

Below you can find all comments made thus far. Please keep in mind that most of the issues described here are solved in current releases. Also some pieces of advice I gave might not be valid anymore for the current release. It is no longer possible to add a comment. Use the Support Forums for your questions.

Bookmark this page on:
  • email
  • PDF
  • Print
  • RSS
  • Digg
  • del.icio.us
  • Facebook
  • Twitter
  • Technorati
  • StumbleUpon
  • Google Bookmarks
  • Reddit
  • MisterWong
  • NewsVine
  • Yigg
  • LinkArena
  • LinkedIn
  • Live
  • MySpace
  • Slashdot
  • Webnews.de
  • Wikio
  • FriendFeed
  • Yahoo! Buzz

918 comments

  1. Danny says:

    Hi Tobias,

    How can I get rid of table borders in IE? They don’t appear in Firefox, only IE! I tried a CSS with border:none; but no success.

    Thanks so much for helping and for your great plugin.

    • Tobias says:

      Hi,

      you could try something like border-collapse:collapse; maybe.
      If that doesn’t help, please provide a URL for a test table.

      Thanks!
      Tobias

      • Jeremy says:

        Hi. Nice plugin! Same question. I’ve changed all the CSS and still get a border around the frame. I tried border-collapse:collapse; in a few spots, but am really not sure where it is supposed to go…?

        Any other ideas?

        Thanks,
        j

  2. Nimish says:

    Hi Tobias

    I just moved my WP installation to a new server, and two things happened:
    1. Most of my tables show up as blank under Dashboard > Tools > WP-Table Reloaded
    2. I get this error on every post that uses a table: Warning: array_slice() [function.array-slice]: The first argument should be an array in /var/www/wp-content/plugins/wp-table-reloaded/wp-table-reloaded-frontend.php on line 160

    Any idea what happened here?
    I checked the database, and the data has imported fine.

    • Tobias says:

      Hi,

      that’s weird, the only thing I can imagine right now is maybe a different collation in the database (not UTF maybe?).

      I’ll contact you by email.

      Tobias

      • walter says:

        I just moved my installation to a new server but none of the tables are there. It’s as if I have to do everything all over again! Is there an easy way to move to a new server/domain?

  3. Melman says:

    Great job! I wonder if it’s possible to insert links into cells…
    Bests!

    • Tobias says:

      Hi,

      Yes, of course it is! Just insert the appropriate HTML for a link (<a href="http://www.example.com/">text</a>).
      If you don’t want to do it by hand, just use the button “Insert Link” underneath the table data on the “Edit table” screen. It will ask you for a URL and a text and create the correct HTML for you. Then you just have to click into the cell, where you want to have the link.

      Best wishes,
      Tobias

  4. Terrintokyo says:

    Hi Tobias. Thanks so much for this plugin!

    I do have a problem though: I need to import an HTML table, and keep getting this error:
    Table could not be imported.

    It happens no matter how I try to import: via cutting and pasting the code into the ‘Paste data with Table to Import:’ box (Manual), or if I try importing automatically as a file upload or from the server.

    I begin and end the file with the table tags. And, when I preview the document from my desktop, it looks fine.

    I’m using Firefox 3.5.1, WordPress 2.8.2, on a MacBookPro (not that the machine matters ;-) ).

    If you have a moment to give me advice on what to try, I’d so appreciate it!

    Thanks,
    Terri

    • Tobias says:

      Hi Terri,

      hard to tell from here, what’s wrong with the table.
      Can you send it to me by email (as an HTML file)?

      Tobias

      • Terrintokyo says:

        Thanks Tobias, we’re really stumped, I’m sending you the HTML file now.

        Terri

        • Tobias says:

          Hi,

          I received your mail and will have a look at your table.

          Tobias

          • Terrintokyo says:

            Hi Tobias,

            Just wanted to let you know that I tried the beta, too, but got the same ‘This table could not be imported.’ message.

            Please let me know if you need any more information: I want to try to get the table done tonight if at all possible…

            Thanks again,
            Terri

          • Tobias says:

            Hi Terri,

            There seems to be some wrong HTML in your table.
            I answered you more detailed by email.

            Tobias

  5. Hi Tobias,

    Plugin sounds great but I’m struggling to make it work with importing tables. I upload a .csv file. The data appears fine. I change the title, Update Changes, Save and Go Back and it looks as though it is all OK because the new title is in the list of tables.
    When I click to edit the table though it is empty. If I insert the Table ID into a post and I get an error:
    Warning: array_slice() expects parameter 1 to be array, null given in /home/ipfrdeu/public_html/wp-content/plugins/wp-table-reloaded/wp-table-reloaded-frontend.php on line 137

    When I populate a table in WP it works fine so it must be something about the import. Any ideas?

  6. Jan Bulcke says:

    Hi Tobias,
    I experience similar problems as Nimish mentioned above when upgrading your plugin. All of my tables are gone under Dashboard > Tools > WP-Table Reloaded. I lost all my tables on the posts and pages.
    I used the automatic plugin upgrade of WordPress, Deactivating and deleting WP-Table Reloaded 1.3 and installing and activating an older version could not solve the problem.
    Two months ago I rebuild my site, for test purposes, on my localhost. I noticed the same problem with WP-Table Reloaded 1.2. After installing the files and the database, all my tables have been lost. I needed to rebuild them again.
    Unfortunately with Contact Form 7 2.0, another excellent WordPress plugin, I have the same experience. All my forms have been lost when I rebuilt my site. Today I upgraded their plugin with the latest version and the same problem re-occurs. Perhaps this info can help you troubleshooting this issue. I’m still using WP 2.8 and the Atahualpa Theme.
    Can you help me?
    Wbr
    Jan

    • Tobias says:

      Hi,

      in Nimish’s case, it turned out, that he had changed a few things (string replacements) in the mySQL dump of the tables. This caused them to be unreadable for WordPress.

      A few questions:
      Did you somehow manipulate the table data, outside of the plugin?
      How did you bring your tables from your localhost to your new server?
      Do you have anything of those tables left (exports, mySQL dumps)? If yes, please email them to me, so that I can check if they got corrupted somehow.
      Do your two servers use the same Character Encoding/collation?

      Thanks!
      Tobias

      • Jan Bulcke says:

        High Tobias,

        Sorry for my very late reaction, due to holiday etc. I finally rebuild the complete website with a new database and all problems are gone. I lost the old database, so I cannot send it to you.

        Thanks for the suggestions.
        Jan

  7. Navjot Singh says:

    I did not see any method to mass delete columns or rows. I imported a CSV file from Excel which had 93 rows by default but used only 35 rows and the rest were empty. Loading such a huge table hangs the browser and deleting rows one by one gets lengthy and tedious. If you can integrate a method to mass delete rows and columns, it would be great.

    Entered as Issue 64 at http://code.google.com/p/wp-table-reloaded/issues/detail?id=64.

    • Tobias says:

      Hi,

      thanks for the feature request and for adding it to the Issue Tracker.
      You are right, this should be possible and I will try to implement it for the next version.

      Best wishes!
      Tobias

  8. JHanies says:

    I can’t seem to insert images. It gets stuck and shows a blank screen when I try to insert an image.

    WordPress 2.8.2

  9. Leon says:

    Version 1.4 freezes in WP 2.8.2 when you click on the “Edit” link or try to save any changes. It seems to lock everything up for a couple of minutes before anything happens.

    • Tobias says:

      Hi,

      this is known to occur on older/slower computers when working on a large table. The JavaScript in the backend slows down the computer. I’ll try to find a way to optimize it for the next version. Until then I can only suggest, working on a faster computer or trying a different web browser (like Firefox or Google Chrome).

      Best wishes,
      Tobias

  10. Paul Moxon says:

    I recently switched from wp-Table. Love your improvements.

    After upgrading to WP 2.8.3 my largest table (1383 rows/5 columns) times out. I get a “Slow Script” message. Canceling gives me only 530 rows. http://vandercookpress.info/vanderblog/census/

    Also I am not able to import a .csv file to replace an existing table. After clicking the “Import Table” button the window goes blank except for the Dashboard menu on the left.

    • Tobias says:

      Hi Paul,

      thanks for your comment!

      What kind of “Slow Script” message is that? A JavaScript message within your browser? Can you send me a screenshot?
      I have a feeling on what it is, I just want to make sure.

      For the CSV-import: A screenshot of that would be good, too. And could you maybe send me the CSV file by email?

      Thanks!
      Tobias

      • Paul Moxon says:

        Yes. It is a JavaScript message. I was not able to add attachments here so I will email them.

        • Paul Moxon says:

          Tobias is dedicated to making WP-Table Reload a great plugin. He spent a considerable amount of time today helping me with the slow load time and javascript error I was experiencing. Finally he suggested I move to php5, which solved all my issues. I made a small donation today, and only wish I could have given more.

  11. Navjot Singh says:

    I have seen people reporting slowing or crashing of browser when a large table needs editing (some 1000s of rows)…Why not offer a pagination support so that plugin shows only few rows at a time (say 50 at a time) and we can go on like this. This will keep the page size small and make it easier to open the table for editing and also help people who have slow net connection and big tables!

  12. Jeff Jones says:

    Just a quick note of thanks for a wonderful plugin! You’ve saved me a lot of time and effort. Amazing work!

  13. Maria says:

    Hi,

    I would like to show the row number, but without making a column for that.
    Does anyone know how to display the default row number?

    Thank you very much,
    Maria

  14. astinson says:

    We really enjoy WP-Table Reloaded and use it frequently. However, I am not a technical person, I was wondering: Can you create in excel and import? If so, how? Thanks

    • Tobias says:

      Hi,

      yes, this is possible.
      Just save your Excel file as “CSV”. You can then import the CSV file into the plugin on the “Import Table” screen.
      This will only work for the data though, not for formulas or formatting.

      Best wishes!
      Tobias

  15. David says:

    Hi Tobias,

    After upgrading to WP 2.8.3 and WTR 1.4.1, importing a CSV table returned this entry in the httpd error log:

    PHP Fatal error: Call to undefined function mb_detect_encoding()

    CSV imports worked fine with the previous versions.

    Thanks in advance for debugging/fixing clues.

    • Tobias says:

      Hi,

      Yes, I use this function since 1.4 for an additional check when importing a table from CSV.
      According to http://www.php.net/mb_detect_encoding it is available in PHP >= 4.0.6 (which you certainly have as WordPress requires at least PHP 4.3.0).
      Therefore I can only imagine that the “mb” library (mb is for Multibyte) is not included in your server’s PHP.

      Could you therefore check with your webhost/support, if they could include that library into the PHP on your server?

      Thanks!
      Tobias

      • David says:

        Thanks, Tobias. Multibyte support is a VERY good thing, and my system now runs fine with 1.4.1 after installing php5-mbstring. Thanks again!

  16. Bob says:

    My tables don’t show the sort icons and won’t sort. Any ideas? Is this a jQuery conflict?

    • Bob says:

      The plugin isn’t echoing the actual jQuery script to make the table sortable:

      $("#wp-table-reloaded-id-1-no-1").tablesorter();

      • Bob says:

        Fixed it! I just hard coded this piece of javascript into the of my page:

        $("table[id^='wp-table-reloaded']").tablesorter();

        That will find any table with an id like “wp-table-reloaded” and init the tablesorter on it.

        • Tobias says:

          Hi,

          Yes, that works, but I don’t really recommend it.
          The solution is (most probably) much simpler:
          Your theme does not include a call to <?php wp_footer(); ?> in the footer.php.

          Best wishes!
          Tobias

          • Bob says:

            Tobias you were right. I did not have a call to <?php wp_footer(); ?> in the footer of my template. Added it, and it works as advertised. Thanks again! Keep up the great work. Can’t wait to see what’s next from you.

            BTW GREAT PLUGIN!!!!!!!!!

  17. Steupz says:

    Hi Tobias, sent you an email and left a comment in the support forum, but I am covering all the bases, so here goes again.

    I get this error when importing from wp-Table:

    Fatal error: Call to undefined function: mb_detect_encoding() in /home/content/s/t/e/steupz/html/wordpress/wp-content/plugins/wp-table-reloaded/php/wp-table-reloaded-import.class.php on line 319

    Any ideas?
    319 seems to be nothing consequential.

    • Tobias says:

      Hi,

      Same answer as a few comments higher: Your PHP is missing the “mbstring” library.
      Could you check with your webhost/support, if they could include that library into the PHP on your server?

      Thanks!
      Tobias

  18. Gianni says:

    Hi, great plugin… Just started playing around with it. I just have a couple of questions. Is it possible to display the data in the cells so they align centrally rather than to the left of the cell? Also I have tried using the “Insert image” button and the instruction message comes up fine. However, when I follow the instructions of clicking the cell my image library does not open.

    Cheers

    • Tobias says:

      Hi,

      yes, you can align cell content in the center. Just add this CSS to the CSS textarea on the “Plugin Options” screen:
      .wp-table-reloaded td {
      text-align:center;
      }

      (This will however do this with every cell in every table. If you just want certain tables or certain columns with this change, have a look at the CSS selectors.)

      For the image inserting:
      Are you using some other Visual Editor instead of TinyMCE, like fckeditor?
      Also, do you get any script errors? What WordPress version are you using?

      Thanks,
      Tobias

      • Gianni says:

        Hi, Just upgraded and is working fine now….Thanks

        • Gianni says:

          Hi, I have been playing around with the CSS and changed the text from 8 to 12 – when I went to test the table, the text in the th was showing, but the rest of the table data was invisible – i.e matches the background colour of that particular row.

  19. Monky says:

    Hi Tobias,
    Thank you again for the great work you’re making…
    But what about the problem of “separator of thousand” with this new version ? (cf. comment 05/11/2009)

    • Tobias says:

      Hi,

      thanks for the reminder. I included the Enhanced Tablesorter JavaScript file into the plugin now. You can activate it with a checkbox in the “Advanced Options” on the “Plugin Options” screen. It will then be used instead of the the original TableSorter. But I guess you still need to change the “us” to “eu” as mentioned in the comment from 05/11/2009.
      I plan to add a possibility for a filter that allows adding custom JavaScript calls. This will then allow you to basically add a plugin to my plugin to activate this behavior (which would have the advantage that you would not need to change a file anymore).

      Unfortunately I was not able to replace the original TableSorter with the Enhanced one because there are some minor differences in the code that lead to different output on the frontend, especially with JavaScript classes.

      Best wishes,
      Tobias

      • Monky says:

        I changed “us” to “eu” but it’s still not working for me :(
        This is an example of the sort :
        1.800
        2.000.000
        28.000
        33.000
        450.000

        in lieu of :
        1.800
        28.000
        33.000
        450.000
        2.000.000

        • Tobias says:

          Hi,

          well, sorry, then :-( It looks like the Tablesorter just doesn’t support thousand separators :-( I just use it as an add-on to my plugin, but there’s nothing I can do about adding such feature to it. I don’t know its code and have no real clue of more sophisticated JavaScript. So, the only chance you have, is asking the Tablesorter developers to add that feature.

          Sorry that I don’t have better news.

          Tobias

          • Monky says:

            Thank you for the answer, Tobias…
            If I can not sort my column with separator of thousand, I would like to lock it. I have visit the Tablesorter website but how can I make it with the WP-Table Reloaded plugin?
            More over I would like to “link” the columns 3 and 4… Any ideas?

          • Tobias says:

            Hi,

            why don’t you just leave out the thousand separator?

            To make a column “fixed” (so that it is not sortable) you need to manually invoke the Tablesorter command. To do that, go to the page with the table, “View Source”, copy the JavaScript code which calls the Tablesorter (something like
            <script type="text/javascript">
            jQuery(document).ready(function($){
            $("#wp-table-reloaded-id-3-no-1").tablesorter({widgets: ['zebra']});
            });
            </script>
            ),
            and add the appropriate Tablesorter setting (like headers: {1: {sorter: false}}) after the widgets: ['zebra'] (with a comma).
            Now put the modified JavaScript code underneath the shortcode for the table. You will also need to add the <script> tag with the Tablesorter JS in the header.
            Then disable the Tablesorter for that table on the “Edit table” screen (so that the Tablesorter will not be called automatically but by hand.)

            I know this is somewhat complicated, therefore I’m planning to add a filter to my plugin that will allow this to be easier (basically by writing a plugin for the plugin) :-)

            “Linking” columns (or “colspan”ning in HTML) is not possible, because of the current data structure. Sorry. :-(

            Best wishes,
            Tobias

  20. Scot says:

    Tobias,

    Fantastic plugin. Small question… In the admin area when creating or editing a table, on my PC (Firefox, Windows XP) the table area exceeds the natural width of page in WordPress’s dashboard after 4 columns. I’ve played with the CSS files but can’t seem to adjust the column widths to make it a bit easier to manage. Any pointers?

    Thanks!

    • Tobias says:

      Hi,

      yes, the table exceeds the visible space on the screen, so you have to scroll horizontally.
      This is because the data has to displayed somewhere :-) If I make the table not that wide, the column get smaller and smaller the more you create. This would (in my opinion) be worse than having to scroll horizontally to reach the row specific functions (like hiding, inserting or deleting).

      I just tried to find the appropriate CSS setting, but somehow it didn’t work. I assume the browser automatically adjusts the width because of the many cells/textareas. But there should be a CSS setting actually. Weird.

      Best wishes,
      Tobias

      • Jason says:

        Hi Tobias,

        Thanks for the plugin. It’s very easy to use but it would be even easier if there would be a solution to this cell size issue.

        Personally I don’t mind big cells in admin area because the size of my screen, but there will be a lot of other people with smaller laptops that will be using the table admin. For them it would be great if I could make the table more compact.

        Regards

        -J

  21. Tim Baran says:

    Awesome plugin and outstanding support!
    Is it possible to define the width of a column and have the text wrap around?
    At http://www.umcle.com/mcle/reciprocity/ – one row only has much more data than the others and extends the width of the column. I’d like that column to be much narrower and the text in that row wrap around.
    This is not a terribly urgent request, so only as you find the time.
    BTW, just followed you on Twitter.
    Keep up the fantastic work!
    Tim (@umcle)

    • Tobias says:

      Hi Tim,

      thanks for your comment.
      Sure, that’s possible!
      You basically have to options:
      - You can either set the width by CSS using the CSS selector .column-2. (see the docs for more on this)
      - Or you can add a parameter to the shortcode you are using (see this docs page for more on that).

      In either case, the text will automatically be word-wrapped.

      Hope this helps,
      Tobias

      • Tim Baran says:

        Thanks very much for your quick response, Tobias. I checked the docs before commenting, but obviously didn’t check well enough. I’ll play with it a bit later.

        I used your older verion of this plugin awhile back but chucked it and gave up on doing anything meaningful with tables on WordPress until I discovered this new version. And, it is VERY good! It should be part of WP Core!

        Thanks again,
        Tim

  22. Fansi says:

    Hi there,

    I downloaded this plugin some months ago as my first table plugin, and I fell in love at the first use. Thank you for being smart developing this. But there’s one thing annoys me; I created a table using this plugin and it works good, but when I try searching for the contents of the table using standard WordPress search form, the result is zero. I guess the WordPress search form doesn’t recognize the table as text or post or something. This is kind of dangerous since I put important articles inside the table, which are unsearchable. Any suggestions? Thank you. Keep on building! :)

    Fansi

    • Tobias says:

      Hi,

      yes, I’m aware of this and don’t like this either. Unfortunately the WordPress search is not easily pluggable, so I wasn’t yet able to make the tables searchable. The next problem is that my plugin can’t ever know in which posts/pages a table is shown. But that’s what we actually need as the search result (not just the table). There is a Google Summer of Code project currently working on the WordPress search, which might make it easier to add custom stuff to the search. But still I don’t see great chances of finding post/pages which contain a certain search value in a table, until WordPress changes its behavior from searching the raw post to searching the output post.
      But I’ll keep an eye on it and definitely try to integrate this!

      Best wishes,
      Tobias

  23. Hello.

    Thank you for the great plugin. I’ve read through the support materials and I may have missed this, but is there another method to modify the same column on multiple tables rather than repeating the code

    table.wp-table-reloaded-id-10 .column-1
    {
    width: 115px;
    }
    table.wp-table-reloaded-id-11 .column-1
    {
    width: 115px;
    }

    For instance, would this do the same thing?

    table.wp-table-reloaded-id-10 .column-1
    table.wp-table-reloaded-id-11 .column-1
    {
    width: 115px;
    }

    I have more than just two tables, none of which are posted at my site currently. Would appreciate you thoughts. And before I sign off, I’m making sure I say thanks in a financial sense. Truly, a great plugin. Thanks again!

    • Tobias says:

      Hi Terrence,

      thanks for your question!

      You almost got it right at the first try :-)
      You can re-use the same CSS commands (so that they apply to multiple tables or elements) by just listing them with a comma between them.

      So, your example simply is
      .wp-table-reloaded-id-10 .column-1, .wp-table-reloaded-id-11 .column-1
      {
      width: 115px;
      }

      (There is no need for the “table” in front of “.wp-table-reloaded” actually.)
      If you want to modify the same thing for ALL tables, you can use the CSS selector .wp-table-reloaded.

      Hope this helps! :-) If not, just let me know!

      Best wishes!
      Tobias

  24. Tomas says:

    Hi, excellent plugin – one question about the scrollers at the top of each table – I tried to limit the text required for the width but it seems the scrolleers are there no matter what I do and they are related to the amount of text in rows, no columns – any idea how to have the table just extend below?
    http://www.smallbiztechtools.com/incorporate-using-llc-or-s-corp-or-even-c-corp/

    Thank you!

    • Tobias says:

      Hi Tomas,

      thanks for your comment.

      The small arrows you mention are not “scrollers”. They are used to indicate the sorting. If you click on them, you will see that your table is sorted. As it doesn’t really make sense to have sorting enabled in this case, I would suggest, to disabled the “Use Tablesorter” checkbox in the “Table Settings” for this table. The arrows won’t be shown then anymore.
      If you do not want to disable sorting for this table, you can play around with the “column_widths” shortcode parameter to make the widths of the columns fixed.

      Hope this helps!
      Tobias

  25. Kai says:

    Hi,

    I would like to make my table sortable by date, is this possible? So far I haven’t been able to sort tables by anything else than numbers/abc, is it a specific date format I should be using, or is it totally unsupported?

    • Tobias says:

      Hi,

      there is nothing with my actual plugin that works against it. This is more or a less an issue of the Tablesorter jQuery plugin (which I just use within my plugin). Please have a look at the documentation of Tablesorter for more information.

      You might also try enabling the checkbox to use the “Extended Tablesorter” script in the “Advanced Options” on the “Plugin Options” screen.

      They have a column with dates there, so it should be possible. Maybe you need to manually call the tablesorter() function with some parameters then.

      Tobias

  26. Manuel says:

    Hi

    I’ve been thinking in a way to filter the records to show in the page using conditions. I’ve seen the show_rows/hide_rows parameters but I was thinking in something like: show_rows="column_id='text_value'".

    I’ve appended here:
    http://code.google.com/p/wp-table-reloaded/issues/detail?id=67

    Your plugin is awesome!

  27. Emmett says:

    Hi there,
    I really am enjoying this plugin, thank you very much.
    Is there a way to change the size of the cells though? I need some to be a slightly different size than another, and I do not know how to do this.

    Thank you!

    • Tobias says:

      Hi,

      yes, this is possible.
      Please have a look at the documentation, especially for the shortcode parameter “column_widths” and the CSS commands. There is a small example included.

      Thanks!
      Tobias

  28. I just got off the phone with GoDaddy concerning the mbstring library mentioned a few posts further up.
    They tell me that I can create a php.ini file and upload it to my root directory to enable the mbstring library.
    They said to ask you what I need to put in the php.ini file???

    Thanks so much for this plugin and thanks for your help,

    Deb

    • Tobias says:

      Hi Debbie,

      wow, they are somewhat weird, I guess! :-)
      Unfortunately I have no idea what to put into the php.ini (I’m not an expert in that.)

      Maybe you can ask in a support forum, if they have one? Or you check if you can update your PHP version somehow (in the hope that the mbstring library gets enabled that way)?

      I don’t know how I can further help you with this :-(

      Sorry,
      Tobias

  29. Zac says:

    Great plugin. I was going nuts trying to put department contacts in by hand.

    What would be the CSS for aligning the whole table to the center of the post and where would I put it?

    • Tobias says:

      Hi,

      this is kind of hard to tell without seeing the post. Can you provide the URL? Then I’ll try to tell you the necessary code.

      Thanks!
      Tobias

      • Zac Gowen says:

        Tobias,

        As I was writing this reply, I figured out that it’s only an issue in the Google Chrome and Firefox browsers. IE aligns the table to the center.

        Regards,
        Zac

        • Tobias says:

          Hi,

          yeah, that’s funny :-) But actually it means, the issue is in IE and not the other browsers (because they obey some command, which IE doesn’t).

          I looked at your site and couldn’t find an immediate solution. I recommend the following:
          Go the “Plugin Options” screen and in the CSS textarea change the width:100%; to width:100%!important; (for the .wp-table-reloaded segment).

          Does this satisfy your needs? Otherwise, I’d suggest you ask in a more CSS orientated forum somewhere, as they might see a better solution.

          Best wishes,
          Tobias

          • Zac Gowen says:

            Tobias,

            Thanks for the awesome quick response. This fix worked on all the browers we use and it looks nice having some separation between the columns. Thanks for the help and the great plugin.

            Regards,
            Zac

  30. gene says:

    I am new to WP-Table Reloaded. I would like to know, where I would insert my code. Also, after code insertion is completed, will my table automatically show on my site or is there another step?

    • Tobias says:

      Hi Gene,

      you only need to insert the shortcode into the text of the post or the page where you want the table to appear. That’s it. If the table exists (meaning it was created in the admin area of the plugin), it will be displayed in that post/page then.

      Hope this helps!
      Tobias

  31. Kinkers says:

    Hi,

    I was wondering how to disable the sorting feature. Can you also do it for just certain columns in a table and not entirely? Thank you in advance.

    • Tobias says:

      Hi Kristine,

      yes, this is possible, but it requires a lot of manual work and is not that easily done right now. Basically, you need to add custom code to the Tablesorter execute command.

      I’ll try to make this easier for future versions, but right now, you’ll have to do it by hand. Please check this comment.

      Thanks!
      Tobias

  32. chris says:

    Hey Tobias,

    Really appreciate the great plugin. I have a quick question about nested tables. I want to show an image and then a table under it, so I’m using a table within a table, using shortcode.

    How can I change the width of specific tables (but not globally)? I want the outer table to be about 60% wide, but then the nested table to fill 100% of its cell.

    Also how do I float a table from within the WordPress control panel?

    • Tobias says:

      Hi,

      yes, nested tables will work. You can style them in the same way as usual tables.
      Please have a look at the CSS selectors in the documenation. You should at first style the outer table width (with the selector .wp-table-reloaded-id-XYZ, where XYZ is the table’s ID). Then you should style the width of the column that contains the inner table (using the selector .wp-table-reloaded-id-XYZ .column-ABC, where XYZ is again the ID (of the outer table) and ABC is the column that contains the inner table).
      All the CSS should go into the CSS textarea on the “Plugin Options” screen.

      For your second question: I have no idea what you mean by this. Could you please explain “float a table from within the WordPress control panel” for me? Thanks!

      Tobias

      • chris says:

        I got the nested table working, thanks for the specifics about the CSS. I’m hoping to work out some sort of boolean phrase so that I can prefix table IDs with something defining a width and position.

        Second question – just hoping, there’s an elegant way to position a specific table, other than making a new div by hand!

        Thanks again Tobias,
        Chris

        • Tobias says:

          Hi,

          right now, there is now possibility to change the table IDs. I plan to add filters to the plugin though, basically so that you write a plugin that extends/changes the behavior. With that, you will be able to change IDs or add classes.

          For your second question: My plugin just outputs the HTML (as a table tag). Styling can and should be done with CSS. Usually you need to put a div around it to center it. But that’s not a flaw in the plugin, it’s just the design of HTML and CSS.

          Best wishes,
          Tobias

  33. TSquared says:

    Great plugin, used it to great relief; using the visual editor in WP is a large pain… I would like to center the table within the pages but have not seen that issue addressed here… Recommendations?

    • Tobias says:

      Hi,

      basically the same answer as a few comments above. You need to output the shortcode into a HTML div tag with full width. Then you can style that with CSS to have a text-align of center.
      This needs to be done with CSS though, and can not be done from within the plugin.

      Tobias

  34. Chriscan says:

    Great plugin. I have a question. I really like the “Insert a link” function. I was wondering how I would go about making it target="_blank"?

    Somewhere in admin-script.dev.js JavaScript, but my understanding of this sort is low. I gave my best shot at putting the target="_blank" in but I must be missing something. Any help would be great.

    • Chriscan says:

      Okay. I had to add the target="_blank" to the admin-script.js also.

      Great plugin

      • Tobias says:

        Hi,

        that’s right. The dev-version is for developing and the other one for production use. It was minified for faster loading (just like WordPress does for its JavaScripts.)

        Tobias

  35. Chris says:

    Hi Tobias,

    Thank you for this useful plugin.

    I got a problem with table and it says “An appropriate representation of the requested resource /wp-admin/tools.php could not be found on this server.”

    That file “tools.php” is hidden in that directory but I can see it by searching.
    What’s wrong with my settings?

    Please help…

    • Tobias says:

      Hi,

      unfortunately I have never heard of such an error message before. Can you make a screenshot of it, so that I can see, which software raises it?
      When do you actually get the error message?

      Is your WordPress installed in the root of your webspace or in a subdirectory. Have you changed the approriate settings in WordPress in the latter case?

      Thanks,
      Tobias

  36. walter says:

    Has any one used this plugin as a means to manage/organize PDF articles on an Issue/Vol. basis?

    I would like to have a table of Volume numbers. Each Vol. would link to a new page which would have a new table of the articles belonging to the Vol.

    Sounds like it could be done… Just wish to confirm. Anyone have examples of this?

    • walter says:

      Another question: Can we have “PREVIOUS / NEXT” links appear above tables for the case where we want to click through to previous and next listings of Volumes and their articles?

      • Tobias says:

        Hi Walter,

        thanks for your comment and sorry for the late reply.

        Yes, your desired behavior can be done with the plugin. Remember: The plugin will enable you to create tables with any data you like. In your case that would be links to PDF documents, I guess.
        While the plugin will assist you in creating the tables, in can not assist in connecting the tables.

        Therefore I recommend the following approach:
        1. Create a table for each Volume with your articles (with whichever content you need there, e.g. links to PDF files (for which you can use the helper “Insert link”).)
        2. Create a new page for each such Volume which gets the table as its content (by inserting the appropriate shortcode).
        3. Now create tables (and pages respectively) which will contain the Volume numbers. This should then probably be links to those pages you created before for the single Volumes.
        4. To add those “previous / next” links, you’ll have to go to each page of a Volume again and add the links to the previous or next page manually.

        To sum up: What you want to achieve is easily possible with WordPress’s pages, tables created with my plugin and HTML links to your PDF files (or other pages).
        You’ll need to come up with the structure of the whole thing by yourself though, as there is no functionality to assist you with that. My above list might give some hints though, I hope.

        Best wishes,
        Tobias

  37. Nadia says:

    Hi,

    I am trying to use the WP-Table Reloaded plugin with a country filter plugin – the table is not shown when put inside a country filter code (the country filter plugin enables specific content to be shown only to specified locations).

    Can you possibly help me with some advice on how can I tweak the code to make it work?

    • Tobias says:

      Hi Nadia,

      thanks for your question.

      I do not have a solution for you from my side, only some hints that you could check in your country filter plugin. From within WP-Table Reloaded, there is nothing that prevents or works against what you want.
      The plugin only uses WordPress’s shortcode mechanism, which is very well established and widely used. That’s why, I believe that your country filter plugin has implemented its functionality in a different way, so that shortcodes don’t work anymore. This most probably is the case if the plugin uses its own mechanismn in determining those country specific regions. It should not be too hard to correct the behavior though. The author of that plugin might only need to add one line (a call to the WordPress function do_shortcode on its output).

      So, please ask him for assistance in this. Unfortunately, there’s nothing that I can do in my plugin.

      Best wishes,
      Tobias

  38. Rich says:

    I’m trying to enter either the function or the shortcode from my writepanel, so that I can have a unique table with each post. I already have a field that will accept HTML on my write panel and works just fine with HTML, I tried putting both the shortcode and the actual function call in this field and get nothing but those codes displayed within the div.

    Suggestions?

    • Tobias says:

      Hi,

      I don’t yet understand where you are trying to enter the shortcode or the function… Is it the regular post editor of WordPress or something else?

      If it’s the first, you need to make sure that your theme displays a post using the “the_content” template tag function.

      And: Do other shortcodes work? (E.g. the “gallery” shortcode?)

      Tobias

      • Rich says:

        Tobias,

        Thanks for the reply,

        I have added custom fields to my templates “write-panel.php”. I guess its a post template from my theme? It’s where I go to post content for the site from within WordPress. It has the content box at the top and relevant fields to my postings. I have added a bunch of new fields to the themes template one of them is this field.

        (Code removed by Tobias.)

        Before I found your plugin, I used the field to paste HTML code for tables that I made in OpenOffice and saved as HTML, pasted the code there and got this result: http://www.golfsanantonio.net/2009/08/the-buckhorn-golf-course/

        There is a rates/fees div that is a direct result of pasting HTML into the field above (in this email) that is the output.

        I tried pasting shortcode and the direct function into said field and all it does is output like a print it doesn’t not execute the PHP, just displays the PHP code.

        When I put the shortcode in the content panel on the post page it works perfectly :) and if I paste the function into my “listings.php” page it works correctly, I just can’t seem to find a way to get it to process the PHP from this specific entry box.

        I did put the code in and have it display your table, then copy the page source for the table into my box and the chart appears fine, but that is a bunch of extra steps :) as you can see here: http://www.golfsanantonio.net/2009/09/the-bandit-golf-club/

        any ideas?

        • Tobias says:

          Hi Rich,

          thanks for your more detailed description.

          Unfortunately there’s nothing that I can do or change in my plugin.
          It looks like that box (from where ever it comes, a plugin or your theme) does not parse Shortcodes (or PHP).

          Your only chance is, to ask the author of that box (i.e. the plugin or theme) for support of Shortcodes or PHP.

          Best wishes,
          Tobias

  39. walter says:

    H Tobias – I have tried four times to move to a new server but none of the tables are there. I have to reactivate the plugin and of course it means that all my tables are gone.

    Perhaps I should be following some other procedure?

    (I was developing locally on MAMP localhost.)

    Thanks.
    PS: Great plugin! Did the job just fine for my needs.

    • Tobias says:

      Hi Walter,

      reactivating does not necessarily mean, that your tables are gone! They just need to be moved to the new server, too.

      For that, you have to possibilities:
      - Either export and import them one by one (from within the plugin).
      - Do it with mySQL, as described in this thread.

      It is possible and has been done, so don’t worry :-)

      Best wishes!
      Tobias

      • walter says:

        Tobias… Great news. I will try what you suggested… After I re-do all my tables ^@#$% WP borked my whole site when I changed the URLs in settings options in preparing to move it to another site!!! It even destroyed my MAMP installation. Boy am I angry with WP. Apparently it’s a common issue. Hope they fix that. In fact after 6 hours of trying, I still have not being able to move to my final server! Frustrating! So it was good to hear from Tobias that I can easily export the tables. Bless you, sir!

  40. kex says:

    Hi Tobias,
    I can’t get “Insert image” to work. I do not use any other table plugin.
    Please help. When I click into any table cell I don’t see any image inserting option.

    • Tobias says:

      Hi,

      what WP version are you using? In most cases this feature is broken by another plugin that inserts JavaScript into the admin page although it shouldn’t. I also had one user who was using a different edtior (FCKEditor instead of TinyMCE) which broke this.
      Can you verify that no other plugin is breaking it (by disabling them one by one)?

      Thanks
      Tobias

      • kex says:

        Tobias, it was Nextgen gallery. I am using the newest WP and Nextgen plugin version. For anybody who has the same issue, here is the solution: Deactivate and reactivate Nextgen gallery and then everything works fine.

        Anyway, WP-Table Reloaded is an awesome plugin. Many thanks man.

  41. julietta says:

    Hello Tobias,

    I don’t understand what I do, but all the “menus” (new table, import, export) in “wp-admin/tools.php?page=wp_table_reloaded” redirect me to the login page.

    Again and again !

    When I enter my login and password it behaves as if the password was false and curls on the page login.php

    I have deactivated all plugins, uninstalled and reinstalled your plugin but the problem is the same…

    Many thanks for your help (sorry for my english).

    • Tobias says:

      Hi Julietta,

      this usually happens, when WordPress is installed in a subdirectory of the domain, but the settings for this are not quite correct.

      Tobias

      • julietta says:

        Many thanks,

        That’s right : My WordPress is installed in a subdirectory of the domain…
        Well there is not any solution to resolve this problem ? Pleaaaaase :)

        • Tobias says:

          Hi,

          of course there is a solution :-) But it does not lie within the scope of my plugin.

          You’ll need to check those settings under “Settings” -> “General” of WordPress. There, you’ll find the “WordPress address” and the “Blog address” which you need to adjust. After that, you might need to update your permalink structure. You might also want to check the Codex on this topic.

          Best wishes,
          Tobias

          • julietta says:

            Hi Tobias,

            Very many thanks !

            I badly expressed myself: My WordPress is installed in sub-domain of my principal domain… And my .htaccess is already configured.

            I think that it is not the real problem, because my WordPress turns very well with several plugins… And the structure of link is like “www.mysite.com” not “www.mysite.com/wordpress”

            Best regards, Julietta

          • Tobias says:

            Hi,

            hhm, ok. How do the links (URLs) to “Add new table”, “Import”, etc. look like? Are they correct?

            Tobias

          • Alan Miller says:

            I’m having the same problem, but it appears to be a conflict with the WordPress Firewall plugin version 1.25 from http://www.seoegghead.com/software/wordpress-firewall.seo

            I just deactivated that and was able to load the WP-Table Reloaded admin page. I’m going to guess that it’s blocking because of the “page=wp_” in “page=wp_table_reloaded” – rule 3 below blocks wp_ because it’s the default table naming prefix.

            Its default rules block these items:
            * Block directory traversals (../, ../../etc/passwd, etc.) in application parameters.
            * Block SQL queries (union select, concat(, /**/, etc.) in application parameters.
            * Block WordPress specific terms (wp_, user_login, etc.) in application parameters.
            * Block field truncation attacks in application parameters.
            * Block executable file uploads (.php, .exe, etc.)

          • Tobias says:

            Hi Alan,

            thanks for telling us about this! Nice to know for the future, if someone else stumbles on it.

            Thanks!
            Tobias

  42. Josh says:

    Hi Tobias, this is really an excellent plugin, thank you.

    Is it possible to somehow have a ‘comments’ link available, for each row of data? So, each row of data would be like a “record” that users could comment on.

    Would this be possible with this plugin, or any other methods within the WordPress environment that you’re aware of?

    Thank you!
    Josh

    • Tobias says:

      Hi Josh,

      thanks for your comment!

      Unfortunately I don’t believe that this is possible with the current means of WordPress. It’s not possible with my plugin (as the data of tables can only be edited on the admin screen but not on the frontend by a website user). It might somehow be possible with posts and comments, but this would be a lot of work, I guess.

      Best wishes,
      Tobias

  43. Dirk says:

    Hey Tobias,

    We started to develop a new website on WordPress and wanted to add some extra tables for the management of our members. I stumbled upon your – great looking – plugin.
    But we use WordPress 2.8.4 and get errors when inserting tables in IE.
    And more after we imported our small number of 300 members the website became sloooooooooooooow (10s per click).

    When will there a version compatible with WordPress 2.8.4?

    • Tobias says:

      Hi,

      the plugin is totally compatible to WordPress 2.8.4!

      I don’t know, what’s happening on your system, but it should not be related to WP 2.8.4, as I (and many others) successfully use the plugin with it.

      Can you tell me what errors you? The more detailed, the better. Could you maybe email me a few screenshots?
      It would also be helpful to see the site with the table. Can you provide a URL please?

      Thanks!
      Tobias

  44. curt says:

    I surely want to donate, but first you’ll have to fix the error when importing a table into a new table. This ain’t working. Workaround is to create a new table and then import into that new (existing) table. I use a lot of tables, 160/soccer season, and that is quite a job.

    • Tobias says:

      Hi Curt,

      thanks for your comment.

      Unfortunately I can not yet confirm the bug you mention. Do you have more information? Are you getting any error messages? Can you email me a screenshot? How are you trying to import the table? What format does it have? Can you also email that to me? How can I then reproduce the problem?

      Thanks!
      Tobias

  45. Andy says:

    Hi Tobias,

    Amazing plugin, however I’m having trouble importing CSV files. When uploading to your program I get this error message.

    Fatal error: Call to undefined function mb_detect_encoding() in /home/bridgewa/public_html/wp-content/plugins/wp-table-reloaded/php/wp-table-reloaded-import.class.php on line 319

    I have used your plugin before and it has been fine. Any ideas? The CSV file is fine.

    Thanks
    Andy

    • Tobias says:

      Hi Andy,

      yes, this is a problem that was introduced in version 1.4. I use that function to run a few tests when importing a file. Usually it is included with PHP, but it seems to me that the needed extension “mbstring” is not included in your server’s PHP.
      Please ask you webhost to include that library (also see this comment for more).
      If that is not possible, you can also remove those function calls from that line, as it is not that important (If you need help with this, please let me know.)

      Thanks,
      Tobias

      • Andy says:

        Hi Tobias,

        I just got this through if it helps from my hosts. “In response to your request, I am unable to install a new library to the server’s php settings”. So I will need to remove those function calls if you can help.

        Danke!
        Andy

        • Tobias says:

          Hi Andy,

          wow, your webhost does not seem to be very customer friendly.

          Here’s what you need to do:
          Replace line 319 of the file wp-table-reloaded-import.class.php (return ( 'UTF-8' == mb_detect_encoding( $string ) && mb_check_encoding( $string, 'UTF-8' ) ) ? $string : utf8_encode( $string );) with return $string;.

          Then everything should work fine.

          Best wishes,
          Tobias

  46. Sean says:

    Tobias,

    Thanks for the awesome plugin. I’m an amateur designer and WordPress user, so I’m wondering how I go from the displayed table (link 1) to the slick table in the options (link 2):

    http://gallery.me.com/sean_bryan/100318/actual_rates/web.jpg?ver=12526936660001
    http://gallery.me.com/sean_bryan/100318/preview_rates/web.jpg?ver=12526936810001

    Thanks again,
    Sean

    • Tobias says:

      Hi Sean,

      you just need to add the CSS from Example File 1 to the CSS textarea on the “Plugin Options” screen. And you’ll need to enable the checkbox next to it.
      If that still doesn’t work, your theme’s header.php does most probably not contain a call to wp_head();.

      Tobias

  47. Bill says:

    Tobias,

    Any way to easily repeat the header row (column names) in long tables?

    Cheers!
    Bill

    • Bill says:

      I figured it out – I ended up using floatheader.js from http://blog.slackers.se/2009/08/jquery-floating-header-plugin-105.html

      Just add this to the bottom of the page and change “id-2″ to id=your-table-id…

      jQuery(document).ready(function() {
      jQuery('#wp-table-reloaded-id-2-no-1').floatHeader({
      fadeIn: 250,
      fadeOut: 250
      });
      });

      You might want to consider adding this capability to your next release, Tobias. It would also be kinder if the tag names were a bit friendlier (eg: id2 or id2n1). One other feature option that would be a nice addon is table2csv (http://plugins.jquery.com/project/table2csv)

      Cheers!

      • Tobias says:

        Hi,

        nice that you found this cool jQuery solution. There is currently no way to do this from within the plugin, so good that you found that!

        I’ll also think about adding this (and the table2csv script) to the plugin, but until then, you’ll need to add everything by hand.

        Best wishes,
        Tobias

  48. Mary says:

    Thanks for the great plugin! I have been trying to make an image that I have inserted a link to another WP page. When I hover over the image, I can see the link appear in the bottom left, but my mouse cursor does not change in order to click and take me to the page. I can click on the image, but nothing happens. I have tried entering the <a href> tag myself and through the Media gallery. Please let me know what I have done wrong. Thanks!
    Mary

    • Tobias says:

      Hi Mary,

      This sounds like you got the HTML wrong somewhere. Most probably there is a quotation mark missing somewhere. Can you provide a URL to the site, then I can maybe find the mistake.

      Tobias

  49. Does this plugin generate code which will validate with w3.org standards? http://validator.w3.org/

    I looked through the FAQ but did not find anything mentioned about this, nor on the description at WordPress. Thanks.

    • Tobias says:

      Hi Tanner,

      yes, the plugin does generate validating code (provided the content/HTML one enters into the data fields does validate).

      Best wishes,
      Tobias

      • Awesome. Thanks for the info and quick reply. Looking forward to getting familiar with your plugin! Thanks for your contribution of providing this plugin free of charge to the WordPress community!

  50. Mike says:

    Fantastic Plugin – thanks – I have just encountered an annoyance where I created a table and guessed the number of rows needed and started typing. I found that I didn’t quite have enough rows and clicked the “Add Row” button only to find that all my typing was not saved. I suppose it could detect if there had been changes so it could get confirmation before losing the data.

    Also I noticed that someone was interested in having the first column be an incremented number. I would imagine this could be handled similarly to the “Use Table Headline:” option. It could be “Add Incrementing Number Column:” and the options could be a drop down of No, On Left, On Right. I suppose it could be a problem with the table sorter so maybe the tablesorter could be modified to keep the numbering sequential.

    • Tobias says:

      Hi Mike,

      thanks for your comment!

      Yes, I’m aware of the problem with losing the typed data. I’ll try to add such a warning for a future version.

      Regarding the Incrementing Row Numbers: I’m not yet convinced on this. I really don’t want to add more options to the tables, as that will just make the usage of the plugin more complicated.

      Thanks
      Tobias