WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Include column with "Click Here"s that link to pages with row information

[Resolved] Include column with "Click Here"s that link to pages with row information

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi Alison,

    thanks for your question.

    Unfortunatel, neither WP-Table Reloaded, nor its official successor TablePress, offer the possibility to show its data in non-tabular format. The reason is that the plugin is not designed to be a database system, but just wants to offer a possibility to quick show static tabular data.

    So, instead, you might want to go with a custom PHP/mySQL solution. With that, you could have a mySQL database, query that with PHP to build the main table, and when a sub-page is open, query the DB for just that entry and show it in the custom format.

    Another idea might for this might be to use a “Custom Post Type” in WordPress. With that, every “Volunteer Position” would be a “post”, and the extra information could be added as post meta data. You could then use the regular WordPress Template Tags, to retrieve the post data from the WordPress database, and show it as a table on the main page, or (via a small extra template file) create the individual views, where the data is shown in non-tabular format. The advantage of this approach would be that you can get all of the URL handling “for free”.

    I hope this helps.

    Regards,
    Tobias

    Thanks so much for your (quick!) reply. This sames me lots of time researching, so I can just get down to doing the code. Your support is amazing Tobias!

    Marking this as resolved.

    Plugin Author TobiasBg

    @tobiasbg

    Hi Alison,

    no problem, you are very welcome!

    I just remembered another possible solution to have something like a “More info” button in a table (but without it linking to another page).
    See http://www.datatables.net/examples/api/row_details.html for an example. I have plans of making this a TablePress Extension in the near future.

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Include column with "Click Here"s that link to pages with row information’ is closed to new replies.