run php script on record update

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 4, 2009   (RSS)

By Shore - November 4, 2009

Hello,

I'm setting up a mechanism for site visitors to submit event info for approval. Upon approval, I want to run a script to create an event on our Google Calendar.

I created an Events editor, that includes a checkbox field for "Approved"

I have a form that allows visitors to add a new event record. The form script will also send an email to the admin to review the event. If approved, they then go into CMS builder review/edit info and check the Approved checkbox.

Once the admin checks the Approved box and saves record, I want my google-calendar script to run which will create the event.

Is this possible?

Thanks

Re: [Luke] run php script on record update

By Shore - November 4, 2009

Hi Luke,

I have the basic structure of the script, it's not complete yet.

There may be some other features like this I need, so before I send an email I'll need to figure that all out, perhaps you will be able to kill 2 birds with 1 stone.

I thought there may be a simple way to do this.

Thanks