Trigger an event

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 8, 2011   (RSS)

By andycal - August 7, 2011

Here's a technical question for you experts!

I'm looking to amend one of the editors I've created so that if someone changes the status of one of the fields it triggers an event.

The even will be a PHP function, probably send an email or something, I'm OK with that bit. It's triggering it that's the thing.

So, for example, someone edits a record and changes the 'status' to 'live' - is it possible to edit the page somehow so I can trap the status and send it to the function?

I'm not after chapter and verse, I'm really just after a pointer as to where to look in the code and whether there's already something there I can hook in to?

Re: [Jason] Trigger an event

By andycal - August 8, 2011

Excellent! Actually doesn't look too difficult either (could be famous last words!)