Timeline for Adding inside wp-plugin jQuery script that receives JSON-formatted data, generated by php-function inside this plugin
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 2, 2013 at 11:21 | history | edited | t31os | CC BY-SA 3.0 |
Fix code blocks
|
Jan 1, 2013 at 11:14 | answer | added | webaware | timeline score: 2 | |
Dec 27, 2012 at 15:23 | comment | added | drake2300 | It works now. But to enable some settings for this plugin I will include in my json.php wp-core files to get access to the options functions. Maybe there is any other way to insert all this functionality in the body of the plugin? | |
Dec 27, 2012 at 14:09 | comment | added | fischi | Okay, in this case implement a callable PHP-File that delivers the JSON, and does nothing else. Maybe located at example.com/wp-content/plugins/yourplugin/json/json.php | |
Dec 27, 2012 at 13:16 | comment | added | drake2300 | Of course, but I need to add both of this scripts to plugin. PHP-callback function generates json output; jquery script gets this data and builds the charts. The problem is getJSON() accepts url's only, not php functions. | |
Dec 27, 2012 at 13:07 | comment | added | fischi | Are you familiar with the WordPress way of enqueueing scripts in your Plugin? | |
Dec 27, 2012 at 12:38 | comment | added | drake2300 | Yes, here is the demo. I've changed some setting and wrote my own php-script to generate json-formatted date. It works pretty well outside the wp-plugin. The problem is to add this scripts inside the wp-plugin. | |
Dec 27, 2012 at 12:23 | comment | added | fischi | Does the chart appear with the demo data provided on highcharts? | |
Dec 27, 2012 at 12:01 | history | asked | drake2300 | CC BY-SA 3.0 |