[SOLVED by Viebig] Custom UDT + Email Event after updating GC Block
Posted: Tue Aug 19, 2008 2:38 am
Hi Guys! I've tried to post it all around the forum and even contacted some of the administrators, but couldn't get a response yet! 
I successfully implemented this "Custom Content" rule as a Global Content block for my FE Users (like Calguy suggested here http://forum.cmsmadesimple.org/index.ph ... 416.0.html), but i need something a little more advanced and i couldn't think of how to apply it:
Sending an email to User after page update: Is it possible that, as soon as i finish editing this block and press "Submit" or "Apply", the system finds a user called "loginname", since i'm using the rule "$customcontent_loginname", and asks me (via ALERT or automatically via event after GCB update) if i want to send this user an email (any general txt would work, not custom), telling him that the page was updated?
I thought maybe some javascript "onSubmit", that activates a PHP SENDMAIL script... But since i'm not a developer, i don't know you exactly to achieve this, if there's a simple way to do it.
Or even simpler creating a UDT and adding it to the update event of "Global Content Block Update". But I can't make the system associate the GCB name with a existing FEU user to send him an email... Urgh!
Would that be possible? I really need it and am willing to pay if necessary.
Budget: USD 80,00 (via Paypal)
Thanks in advance!
jw

I successfully implemented this "Custom Content" rule as a Global Content block for my FE Users (like Calguy suggested here http://forum.cmsmadesimple.org/index.ph ... 416.0.html), but i need something a little more advanced and i couldn't think of how to apply it:
Sending an email to User after page update: Is it possible that, as soon as i finish editing this block and press "Submit" or "Apply", the system finds a user called "loginname", since i'm using the rule "$customcontent_loginname", and asks me (via ALERT or automatically via event after GCB update) if i want to send this user an email (any general txt would work, not custom), telling him that the page was updated?
I thought maybe some javascript "onSubmit", that activates a PHP SENDMAIL script... But since i'm not a developer, i don't know you exactly to achieve this, if there's a simple way to do it.
Or even simpler creating a UDT and adding it to the update event of "Global Content Block Update". But I can't make the system associate the GCB name with a existing FEU user to send him an email... Urgh!
Would that be possible? I really need it and am willing to pay if necessary.
Budget: USD 80,00 (via Paypal)
Thanks in advance!
jw