lc1
Hi,
I would like to obtain the following behavior:
User being on the “datatable” page, (plugin structured data) he does click on some link or button and then the following step should happens:
1) A php script is executed that create a new “dataentry” page (plugin data) from data located in file system (a log file from another application). (I already wrote this part).
2) The php script fill the database with the corresponding data. (both table “data” and table “pages”) (I already wrote this one too)
3) The newly created page is displayed. (This is where I don’t know too much in which direction to go).
I did use the plugin “phpinc” to call the php script. Then I did try “render_text” or the plugin “pageredirect” but those two approaches doesn’t give me the expected result. I can insert JavaScript code in the ‘onload’ event of the html body element to force the browser to load another page but I don’t know for now how to insert this in dokuwiki page. Or I should write a complete plugin?
Can someone give me some hint please?
Thank you in advance.