I’m searching for a hook which is called after page creation or changes on pages like “hide page in nav“, “deactivate page” or “move/delete page“
Does someone know of one?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
These Hooks are located in t3lib/class.t3lib_tcemain.php
The following are just some of those:
In your case, i think you could use “processDatamap_postProcessFieldArray“.
Example how to include it in your ext_localconf.php:
Example class:
With $table, you can check which table is modified. $status allows you to retrieve the current action, for example “new”, “update” or “delete”.
Example for TYPO3 > 6 with namespaces on another hook: