Table exports #5
Labels
No Label
FAQ
bug
enhancement
needsInfo
notReproduced
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: glen/tablepress-pods#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
When we try to export a table defined with the tablepress-pods shortcode we only get the definition of the tabel and not the actual content.
For a table defined as:
The CSV file contains only 2 rows:
ID,Name,Cottage
{@id},{@title},{@cottage}
Instead of actually listing all our cottager and cottages.
he table looks just great as a wordpress page, but we are hoping to be able to generate some simple reports to help use chekc and maintain our users' database.
Many thanks for your help,
Fabio
Aha, glad to hear it's working on the wordpress page. I have never exported from Tablepress, but I absolutely would like to support it. I will take a look, but in the meantime it would help if you could tell me the exact procedure by which you perform the export? Thanks!
My guess is that you are using the Tablepress -> Export a Table menu option in the Dashboard of your Wordpress installation. The difficulty is that this export does not go through shortcodes, and the information of what Pod to use is not stored with the table, but is actually recorded in the shortcode that places your table on your wordpress page. The fact is you could actually use the same Table with different Pods and get different results. Tablepress Pods can absolutely put a hook into the export process, and can look for magic codes in the table entries. The question becomes, how will it know what Pod to use to fill in those magic codes? I will think about this, but I am open to suggestions; also please verify that this is how you are trying to export the tables. Thanks!
OK @fabio1299, I have added an "Export Pods Table" action to the TablePress menu when this plugin is active. Please download and install tablepress-pods-0.3.0.zip. (Install it the same way as you originally did, instructions in the README.) If you encounter difficulties with the new version or if the new action does not fill your needs, please open a fresh issue. Hope this helps!