Subject: How does one trigger a page save action, on the click of a button
Sorry folks if the answer to this question is straightforward, but I am unable, for the life of me, find anything out there on the internet that answers this question of mine.
i have been using dokuwiki for a few months now, mostly hacking my say around. To achieve what i want, which is:
on the click of a custom button made by me, create a new 'example.txt' page, and fill it up with the content: hello world.
I've been reading about events and action plugins, but they mostly seem to talk about 'doings some actions when a DOKUWIKI event is triggered', but no where can I find, how to create a custom button, or any other input, that triggers an existing dokuwiki event. I really need to have a button that triggers the 'page save' event, and creates the 'example.txt' file.
Please could someone help me out with this?
Apologies if this is a silly question.
Best,
Abrar
i have been using dokuwiki for a few months now, mostly hacking my say around. To achieve what i want, which is:
on the click of a custom button made by me, create a new 'example.txt' page, and fill it up with the content: hello world.
I've been reading about events and action plugins, but they mostly seem to talk about 'doings some actions when a DOKUWIKI event is triggered', but no where can I find, how to create a custom button, or any other input, that triggers an existing dokuwiki event. I really need to have a button that triggers the 'page save' event, and creates the 'example.txt' file.
Please could someone help me out with this?
Apologies if this is a silly question.
Best,
Abrar