-
Events edit?
Hi,
I've got a question about the action that happens when I edit the event.
I have to know what functions are used in which files (specificly I want to know where the update of the database happens.)
I use Typolight 2.7.6
Why?
I want to put a custom code (mail) after the database edit, when you press Save (or Save and close)..
The best thing I'd like is that there even would be a possibility to check if it's changed or not, but I can write code for that in the worst case...
Thanks
-
Re: Events edit?
What you are looking for is maybe the onsubmit_callback:
http://www.typolight.org/callbacks.html
Or the executePostActions hook:
http://www.typolight.org/hooks.html
Finally, a third option is to override existing class methods:
http://www.typolight.org/overriding-class-methods.html
It depends on how you exactly want to implement things.
-
Re: Events edit?
onsubmit_callback was the function I needed!
Didn't even look there, I was searching for something else...
Thanks!