WordPress.org

Forums

[resolved] [Plugin: WP-Table Reloaded] Is deeper customization possible?? (7 posts)

  1. bencharity
    Member
    Posted 5 years ago #

    I'll start off by saying I don't have much PHP knowledge, hence the need for a simple way to have user sortable tables on my site (great plugin by the way!).

    That said, I need a bit more functionality in the tables for it to really work for me.

    Right now this is what my site is (plain html, takes forever to update):

    http://www.thebenjaminresource.com/tbr/html/browse_by_title.html

    And here is the basic, unstyled table with WP-Table-Reloaded:

    http://www.trinityvineyardworship.com/table

    Basically when the page loads it will be sorted by title, and I need the 'back to top' link under each section and a space between the sections. However when it is dynamically sorted by Key or Artist etc, I need the the links and spaces to not all get sorted together!

    Anyone have any ideas? I'm really hoping that I can make this work!

    Thanks in advance!
    Ben

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

  2. bencharity
    Member
    Posted 5 years ago #

    Oh, and I also am hoping to exclude some rows from the sorting process, like the section headers, empty spacing rows, and back to top link rows...

  3. TobiasBg
    Member
    Posted 5 years ago #

    Hi Ben,

    I'm afraid, your wishes are not that easy to realize.
    The sorting is done by the Tablesorter jQuery plugin from http://www.tablesorter.com. Basically it's used as a plugin to the WP-Table Reloaded plugin.
    So you might want to have a look at the documentation there (but at the moment I doubt you'll find anything). I know that one could exclude columns from being sortable but I don't know about rows, sorry.

    One possible solution though could be:
    Add a table for each letter of the alphabet and put the corresponding rows in those (and break your large table into several smaller ones). Then put all those tables underneath each other. This gives you the possibility to have some spacing between them, as well as the "Go to Top" link (underneath the table).
    Do you know what I mean?

    Best wishes,
    Tobias

  4. bencharity
    Member
    Posted 5 years ago #

    Thanks for the quick response Tobias.

    I do understand what you are saying, but I don't believe that this will give me quite the complete functionality that I needed. I figured it was a long shot :)

    Thanks again for the great plugin!
    Ben

  5. bencharity
    Member
    Posted 5 years ago #

    Can I control a column to only sort one way? EG the 'tab' column only sorting descending?

  6. TobiasBg
    Member
    Posted 5 years ago #

    Hi Ben,

    same for this question. You would have to check in the Tablesorter documentation at http://www.tablesorter.com. I don't know all possibilities of the script.

    Tobias

  7. bencharity
    Member
    Posted 5 years ago #

    Once again, thanks Tobias!

Topic Closed

This topic has been closed to new replies.

About this Topic