i wanted to update %var1% value of existing wpdatatables from php code in wordpress before creation of datachart . And if possible i wanted to know if you support php creation of wpdatabable with mysql query from php code.
It is possible to create wpDataTable by using do_shortcode WordPress function. Like that you can dynamically change PHP variable that you will pass to the wpDataTable as %var1%.
I need to generate a wpdatachart based on a existing wpdatable. But i need to change the %var1% of wpdatatable from php before calling do_shortcode of datachart if possible. Also is it possible to create datachart from mysql query in php code?
This is the way how you can change %var1% before calling do_shortcode. You just have to change $variable based on some your logic that you will use. You just need to create custom page template where you will assign some value to $variable and then use do_shortcode function to create wpDataTable with dynamic %var1%.
"Also is it possible to create datachart from mysql query in php code?" - I didn't understand this quite well. Can you please explain this in more details?
In ordrer to create a chart , we need to select an existing wpdatatable source.
I have a wpdatable source using mysql query depending on variable var1. I need to create a chart dynamically from php by modifying the variable var1 for selected wpdatable source through php.
When you make wpdatatable with dynamical variable var1, you have to make the chart from that table and turn on "Charts data filtering" on Data range tab. (attachment)
how to update the variable var1 of wpdatatable from php without doing shortcode because i don't want to show the wpdatatable but the chart instead after setting var1
i wanted to update %var1% value of existing wpdatatables from php code in wordpress before creation of datachart . And if possible i wanted to know if you support php creation of wpdatabable with mysql query from php code.
Hi youthak,
Thank you for the purchase.
It is possible to create wpDataTable by using do_shortcode WordPress function. Like that you can dynamically change PHP variable that you will pass to the wpDataTable as %var1%.
That would look like something like this:
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
I need to generate a wpdatachart based on a existing wpdatable. But i need to change the %var1% of wpdatatable from php before calling do_shortcode of datachart if possible. Also is it possible to create datachart from mysql query in php code?
Hi youthak,
This is the way how you can change %var1% before calling do_shortcode. You just have to change $variable based on some your logic that you will use. You just need to create custom page template where you will assign some value to $variable and then use do_shortcode function to create wpDataTable with dynamic %var1%.
"Also is it possible to create datachart from mysql query in php code?"
- I didn't understand this quite well. Can you please explain this in more details?
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
In ordrer to create a chart , we need to select an existing wpdatatable source.
I have a wpdatable source using mysql query depending on variable var1. I need to create a chart dynamically from php by modifying the variable var1 for selected wpdatable source through php.
Hi youthak,
When you make wpdatatable with dynamical variable var1, you have to make the chart from that table and turn on "Charts data filtering" on Data range tab. (attachment)
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
how to update the variable var1 of wpdatatable from php without doing shortcode because i don't want to show the wpdatatable but the chart instead after setting var1
Hi youthak,
When this "Charts data filtering" is ticked, you must have table and chart in the same post or page.
If you don't want table to be visible, you can hide with CSS.
Best regards
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables