Okay
  Public Ticket #1613601
wpDataTables: ability to dynamically generate page or post content
Closed

Comments

  • Pat started the conversation

    Hello, 

    I have purchased and used wpDataTables for several projects; all with a focus on generating, sharing, editing and publishing tabular data.  I am doing research for a new project that needs this functionality, but also needs a method to dynamically generate page or post content (similar to what is possible using this plugin in conjunction with Airtable: 
    https://en-ca.wordpress.org/plugins/airpress/).  I am guessing I'm not the first person to ask this question and yet I have been unable to find any reference to this question.  Is there any known method for doing this in conjunction with wpDataTables?

    Thank you!  

    PK

     

  • [deleted] replied

    Hi Pat,
    Thank you for the inquiry.

    Not exactly like in the plugin that you have sent me, but you can create wpDataTable from serialized PHP array. In the PHP script you can create whatever logic you need that will return PHP serialized array.

    Another way to create dynamic tables is to use variables in MySQL query tables. You can take a look at this feature at Making dynamic SQL Queries with placeholders page from our documentation.

  • Pat replied

    Thank you Milos, although it doesn't actually answer my question.  I'm aware of these methods for creating tables.  My question is: once the tables have been created, is there a way to export that data to dynamically generate post content?  For example, if the table contains information about books (title, genre, author, publisher, year published, and a book review), is there a way to dynamically generate a series of blog posts using those fields?  It seems this functionality does not currently exist, but this would be an awesome and powerful application for wpDataTables.

  • [deleted] replied

    Hi Pat,

    Sorry for misunderstanding. Unfortunately something like that is not possible with built-in features. Yes this sounds like an interesting feature, but it was not requested many times, so I don't know if will be implemented in wpDataTables in the future.