Looking for a way to send notifications to administrator when an appointment has been scheduled. I know this question has been asked, but I didnt see any real answers. I dont mind modifying the code if you can tell me what to modify…Thanks
Are you using the standalone scheduler or plugin?
using the joomla component. I’m pretty good with working within the coding, just don’t know where to start and what to change.
in com_scheduler\site\codebase\dhtmlxSchedulerConfigurator.php locate next lines
require(“connector/scheduler_connector.php”);
$this->scheduler = new schedulerConnector($this->connection);
You can add after them
$this->scheduler->event->attach(“afterProcessing”,doAfterProcessing);
where doAfterProcessing - php function which will be called each time after event updated|inserted|deleted
docs.dhtmlx.com/doku.php?id=dhtm … processing
function will receive DataAction object, which can be quieried for event’s details
docs.dhtmlx.com/doku.php?id=dhtm … ion_object
Thanks a ton! You just made my day!
any chance you can give me an example of how this code should be implemented. I have added the code to the dhtmlxSchedulerConfigurator.php file, but it seems more action is needed to define whats to be done, and I am not sure where to do it??
Am I making since? I truly appreciate your help.
Thanks!