Hi,
I have modified my dokuwiki to create two navigation panels on each side of the content. They display respectively the Parent pages on the left and the Children pages on the right. It creates at the same time a connection network via Rscript. The PHP code which create the panels and the network needs only to be executed after a page edit, i.e., when new connexions (links) are made between pages.
I was able to use if($ACT === "show")
in main.php to modify HTML on all normal pages without affecting admin pages. But if($ACT === "save")
dosent work for executing a PHP only when saving.
I wonder how to include a specific PHP code only when the Save button is press in Edit mode. (I checked the JS code for the Save button, but I'm not knowledgable enough to modify its action to run a PHP script)
Thank you very much.