Results 1 to 3 of 3

Thread: Events edit?

  1. #1
    New user
    Join Date
    02-06-10.
    Posts
    8

    Default 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

  2. #2

    Default 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.
    Extensions: avatar, cron, dlstats, editarea, geshi, helpdesk, recall, rep_*, smhcheck.
    FAQ's - Documents - Tickets
    Please no help requests by PM, use the forum or ticket link above instead!

  3. #3
    New user
    Join Date
    02-06-10.
    Posts
    8

    Default Re: Events edit?

    onsubmit_callback was the function I needed!
    Didn't even look there, I was searching for something else...

    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •