If the Table-DataSource is MySQL, then i totally understand how the placeholders are supposed to work.
But I don't understand how the placeholders for the serialized PHP array are supposed to work. How can i access the variable value %VAR1% in my php file?
I did not find anything about this on your documentation or youtube... nowhere.
From version 2.2 it is possible to use placeholders with other table types – JSON, XML, and PHP array through the shortcodes and as predefined values in filters and editing.
Unfortunately, we don’t have any examples, but if you take a look at our documentation and check the video around 3:10, you’ll see how you can use those placeholders through filters.
Upon testing, I'm sorry to inform you that, unfortunately using placeholders in the PHP file is not possible. The tables created using serialized PHP array are not editable, so our plugin cannot even get to the placeholders to be able to recognize them.
One of our developers tested it, thinking he may find a workaround (like I mentioned in my previous reply), but unfortunately it's not an option yet.
The information in your documentation is a bit misleading for my understanding.
"From version 2.2 it is possible to use placeholders with other table types – JSON, XML, and PHP array through the shortcodes and as predefined values in filters and editing."
You're welcome, although we haven't been able to make it work we will always test the product to provide the best answer.
As for the documentation, it states that placeholders can be used with tables made from PHP arrays through the shortcodes and filters (as predefined values). I'll see if we can make it clearer for future reference.
Hello wpDataTables Team!
If the Table-DataSource is MySQL, then i totally understand how the placeholders are supposed to work.
But I don't understand how the placeholders for the serialized PHP array are supposed to work. How can i access the variable value %VAR1% in my php file?
I did not find anything about this on your documentation or youtube... nowhere.
Best Regards,
Markus
Hello Markus.
Thank you for your purchase.
From version 2.2 it is possible to use placeholders with other table types – JSON, XML, and PHP array through the shortcodes and as predefined values in filters and editing.
Unfortunately, we don’t have any examples, but if you take a look at our documentation and check the video around 3:10, you’ll see how you can use those placeholders through filters.
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Aleksandar,
thanks for your fast response.
Okay i get that part, where u apply the placeholders to the predefined values at column filterung.
My main querstion is: Is it possible to access the placeholder value in the php file which generates the serialized array?
Thanks,
Markus
Hi Markus.
That should be possible, yes, but I cannot guarantee it since I did not test it.
I will forward the request to one of our developers, so they can test the feature, and I'll get back to you as soon as I get a reply.
Best regards
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
okay cool, thanks!
Please provide an example with all the necessary code if possible, because im a little php newbie :)
Best Regards,
Markus
Hello again Markus.
Upon testing, I'm sorry to inform you that, unfortunately using placeholders in the PHP file is not possible. The tables created using serialized PHP array are not editable, so our plugin cannot even get to the placeholders to be able to recognize them.
One of our developers tested it, thinking he may find a workaround (like I mentioned in my previous reply), but unfortunately it's not an option yet.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi there,
okay that's unfortunate, but thanks for testing.
The information in your documentation is a bit misleading for my understanding.
"From version 2.2 it is possible to use placeholders with other table types – JSON, XML, and PHP array through the shortcodes and as predefined values in filters and editing."
Best regards,
Markus
Hi Markus.
You're welcome, although we haven't been able to make it work we will always test the product to provide the best answer.
As for the documentation, it states that placeholders can be used with tables made from PHP arrays through the shortcodes and filters (as predefined values). I'll see if we can make it clearer for future reference.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables