Add custom event handler to be triggered by some actions affecting tickets/quotes/invoices/contacts

This commit is contained in:
wrongecho
2024-10-02 11:26:13 +01:00
parent c352f6e3cb
commit 1c404b9cf1
12 changed files with 161 additions and 17 deletions

View File

@@ -3,11 +3,11 @@
/*
- Custom Pages -
If you wish to add custom pages to ITFlow, add them to the root directory with the prefix "xcustom_"
e.g. If your page was called my_page_one, name it "xcustom_my_page_one.php"
If you wish to add custom pages to ITFlow, add them to the xcustom folder in the root directory with the prefix "xcustom_"
e.g. If your page was called my_page_one, name it "xcustom/xcustom_my_page_one.php"
Note: If required, you can use the Custom Links module to have the page show on the user sidebar.
To process POST data via your custom pages, create a file in this directory (post/xcustom) named after your page (e.g. xcustom_my_page_one.php).
The relevant file will be automatically loaded upon a POST request based on the referer - your form just needs to target the standard post.php.
The relevant file will be automatically loaded upon a POST request based on the referer - your form just needs to target the standard root/post.php.
*/