Published table formatimg using wpdadiehard
-
Hi Peter
Firstly – great plugin – much appreciated. I’m somewhat new to this so please forgive if the answer to my question is obvious. [I’m using latest versions of wordpress and your plugin]
I want my (naive) users to be able to edit my existing table (meetings) on the font end – hence I’m trying to use the wpdadiehard shortcode. However I also want to use some of the formatting facities available viz. column headers which are not the same as the field name, selection of which columns to display, and SQL type WHERE clause (meeting_date > NOW()).
I’ve set up page definitions using Data Publisher and Data Projects and played around with different shortcodes with the results as follows:
[wpdataaccess table=”meetings”]
Raw table data – column headers derived from field name, all columns, no filtering[wpdataaccess table_name=”meetings”]
ERROR: Missing argument [need at least pub_id, pub_name or table argument][wpdataaccess pub_id=”1″]
Chosen column headers, selected columns and active ‘WHERE’ filter[wpdataaccess project_id=”1″ page_id=”1″]
ERROR: Missing argument [need at least pub_id, pub_name or table argument][wpdadiehard table=”meetings”]
ERROR: Missing argument(s) [(project_id and page_id) or table_name][wpdadiehard table_name=”meetings”]
Raw table data – column headers derived from field name, all columns, no filtering[wpdadiehard pub_id=”1″]
ERROR: Missing argument(s) [(project_id and page_id) or table_name][wpdadiehard project_id=”1″ page_id=”1″]
Column headers derived from field name, all columns, active ‘WHERE’ filterI think this is as described in your documentation, but I don’t see how I can get what I want which is:
[wpdadiehard …]
Chosen column headers, selected columns and active ‘WHERE’ filterAm I missing something? Thanks for any help…
Jim
The topic ‘Published table formatimg using wpdadiehard’ is closed to new replies.