• Resolved frankcoppola

    (@frankcoppola)


    I am trying to use the table that I have created (thank you for such a great plugin) but I only need to display 1 column along with the header and the CSS but I am not getting anything. what am I doing wrong sorry to write since this subject is talked about so much but I am just not getting it.

    I have 2,041 entries and need to have links to a post page that will then display the one column on that subject along with other copy.

    I would also want to add page numbers for the main table

    thank you

    http://wordpress.org/extend/plugins/wp-table-reloaded/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    what do you mean with “I am not getting anything”?

    Can you post a link to the page with your table?

    Regards,
    Tobias

    Thread Starter frankcoppola

    (@frankcoppola)

    Hi Tobias
    currently I only have the one linked post. AMS10133A
    http://www.internationalspecialalloys.com/wordpress/ams-10133a/
    which I have place the copy
    [table id=1 hide_columns=”1,2,3″ show_rows=”4,5,6″ /]
    changed to [table id=1 show_rows=”2,5″ /]
    but I get the whole thing

    and as you can see on this page I do not have the numbers on the
    bottom of the main table.
    http://www.internationalspecialalloys.com/wordpress/products-posting-view/

    thanks

    Thread Starter frankcoppola

    (@frankcoppola)

    ok so I kept at it and got the code to look for the first one table
    but still can not remove the search and other top and bottom info for the single listing

    Thread Starter frankcoppola

    (@frankcoppola)

    so the first table was a fluke
    tried the second one on AMS10134A
    [table id=1 datatables_info=”N” row_count=”2″ show_rows=”1,3″ /]
    only shows the first one AMS10133A

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your examples, and the link.

    There’s one important thing that you need to do, when using these Shortcode parameters: You must deactivate Table Output Caching for this table (by unchecking the corresponding checkbox on the table’s “Edit” screen). Otherwise, the Shortcode parameters won’t have an effect really.

    Also, for your described plan, datatables_info and row_count are not appropriate. I recommend that you remove those. Using show/hide_rows/columns should be enough for this.

    Regards,
    Tobias

    Thread Starter frankcoppola

    (@frankcoppola)

    ok so i have been trying to do the show hide rows and I am just not getting it. I have turned off the Caching and still no go.
    I have on this page
    http://www.internationalspecialalloys.com/wordpress/ams-10134a/

    the two examples below, as you can see the A shows AMS 10133A not the AMS 10134A

    A
    [table id=1 use_tablesorter=false row_count=”2″ show_rows=”1,4″ /]

    and B
    this works but as you can see it goes on and would still need to write a few more 1000 lines.
    [table id=1 use_tablesorter=false row_count=”3″ hide_rows=”2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,104,105,” /]

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    before being able to show just a certain row, you basically have to hide all of them first (as this is an iterative process). You already started that in Shortcode B, but of course this would be impossible to handle. Fortunately, you can simply use the “all” keyword here 🙂 And also, do not use “row_count” anymore! It can have weird side effects and will be removed in a later version.

    So, please try these Shortcodes instead:
    A:

    [table id=1 use_tablesorter=false hide_rows="all" show_rows="1,4" /]

    B:

    [table id=1 use_tablesorter=false hide_rows="all" show_rows="1,3" /]

    You can then of course add “hide_columns” as well, if you need that.

    Best wishes,
    Tobias

    Thread Starter frankcoppola

    (@frankcoppola)

    THANK YOU so much i do not know what I was doing I tried the hide rows all before but it didn’t work so thats when I started down the row count . I just put the code in exactly as yo have it and wow Thank you again

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Frank,

    awesome! 🙂 Great that this works! Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: WP-Table Reloaded] Table Display in Posts’ is closed to new replies.