• So maybe I should be more directly using some type of database for what I’m about to ask, but that may be too advanced for me (though I would certain appreciate such recommendations as well if they are dumbed down enough).

    So my site acq1.com/f (shortcode) is using wp-tables-reloaded for serving up its primary data on the homepage. I show 4 tables on the home page using tabs. I just moved all the data into a single table to give me the ability to have the same record in multiple tables. I then hide all the rows in the table and use the “show_rows” feature in the short code to show the relevant rows for each table. I feel like I am using a work around, however, instead of doing this correctly, so is there a way I am supposed to be doing this?

    One issue I have is that I can’t define the order of the rows differently between tables. No matter how I order the rows in the short code, they come out in the database’s order.

    Second issue is that I would prefer to use some type of flag column and logic to show the row. This would benefit me since a)typing row numbers into the short code is a bit clunky and b) I could change the order in the database without having to rewrite every shortcode.

    Third issue is the ability to let a row wrap (manually). Is that possible? Let’s say there is more information that can fit on one row, there could be a second row. Maybe with thicker lines between each record or the like. Either with two header rows or maybe on the second row having simple headers built right into the row, such as lead text and a checkbox. This will be most relevant if I can do what I want to do next.

    Eventually, I want to be able to have this setup work as a relational database to my users. That is, for each record (row), I want to be able to have some columns that have user data unique to each WordPress User. For example, I want someone to be able to check a box that says “have it” or the like. That data would only show up when that user was logged in. I assume I am going way beyond WP-tables-r here? If not, how would I go about doing it? If so, what would you recommended (keeping in the overarching framework of wordpress and cpanel)?

    Hopefully that is not too much to ask in one post.

    http://ww.wp.xz.cn/extend/plugins/wp-table-reloaded/

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

    (@tobiasbg)

    Hi,

    thanks for your post.

    To make it short: Yes, this is beyond the scope and intended use case of WP-Table Reloaded.

    For your first and second problem (the management of the data with “show_rows” etc.), you might be able to make this easier by using the Filtering Extension from my website ( http://tobias.baethge.com/2010/03/extension-6-showing-only-rows-that-match-a-filter/ ) which could be used for this (with some hidden columns and the filter words in them). This would not really fix the order of the rows though 🙁

    For the third issue: Something like row wrapping is not really possible in HTML tables, or at least I have not yet seen a solution to this.

    And now the idea about a relational database: This is really out of scope of the plugin, as WP-Table Reloaded is not intended to be a database system. You should instead use a custom mySQL table for this, which you can access through WordPress/PHP by developing a custom plugin that will read/edit/add the data.

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-Table Reloaded] Using WP-Table-Reloaded as a database’ is closed to new replies.