We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hi
A few weeks back I logged a ticket (via our company account - EntrustICT) regarding documentation for using placeholders in a PHP Serialized Array.
https://tmsplugins.ticksy.com//ticket/1632898/
I still can't see any documentation on this. Could you point me to where it is? If there is no documentation yet - could you please provide a quick example?
e.g. $Var1 = '%VAR1%'; ?
thanks
Jeff
EntrustICT
Hi Jeff,
Thank you for your purchase.
You can take a look at our documentation about placeholders here.
As for the PHP serialized array you can use VAR1 VAR2 etc for example to prefilter the table.
Define the VAR1 in the placeholders tab and put the %VAR1% in the Prefilter value for some column.
Also you can use the VARs in the shotcodes when pasting them in the page.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Thanks for the quick response but I am still not clear as to how to use this. The link only states that placeholders can be used with a PHP Array but provides no examples.
You mention placing %VAR1% in the pre-filter value in a column but this simply overwrites the value passed out of the array.
I created a static array for testing as follows:
$SQL_Array[] = array(
'Order ID' => 1,
'Order Status' => $xx,
'Order Summary' => 'BBBB',
'Order Date' => 'CCCC',
'Customer Name' => 'DDDD',
);
echo serialize( $SQL_Array );
And want to pass the value stored in %VAR1% to $xx.If that is possible - then the full query would be $Query = "SELECT col1,col2,col3 WHERE col4=$xx";
Similar to the normal Query with Placeholder we can use with a SQL Source but using a PHP Source instead.
Putting the placeholder into a pre-filter value ignores the output of the PHP Array and just overwrites the Column with the value in VAR1 which isn't very useful. (Unless I am mis-understanding you)
Jeff
Hi Jeff,
Can you please tell me do you maybe have this table as an live example so we can take a look and give you our suggestion.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 Jeff,
Unfortunately when I got to that link I receive this error ( attachment)
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 Bogdan
I apologise for that.
One of are devs was working on the site and screwed things up. It's back up now.
I appreciate you taking the time to look into this
On a separate note I have another table that is displaying Sales Orders in real-time from our CRM (via normal SQL query - not PHP) and it's working perfectly. The filtering and formatting features you guys have included make this one of the best plugins we have.
thanks
Jeff
Hi Jeff,
I logged in successfully now.
Now I see what are you trying to achieve. unfortunately something like this is not possible to do with the PHP serialized array and placeholders.
At the moment you can use placeholders VAR1, VAR2 and VAR3 for passing values to filters or shortcode on already loaded data but it can not be used like you are using them for the MySQL tables.
As for the other connections to the databases we are preparing new update where you will be able to use separate connection to other databases and as many as you would like. ( like mysqli, postgre sql etc)
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 Bogdan
Thanks for looking.
One of the main reasons for me using PHP was to access more than one database - so if that is something you are adding to a future update than that will be great.
Jeff