Search the Community
Showing results for tags 'event'.
-
Hi, Is it possible to add event when package crated successfully or how can i add a custom event on package create? Blesta doesn't provide any event for package create https://docs.blesta.com/display/dev/Event+Handlers Thank You
-
Hello Can anyone help me to see what Im doing rong? I want to call the controller "AdminLiveChatCount" wen the event "Appcontroller.structure" triggers on "body_end" in "admin" side public function getEvents() { return array( array( 'event' => "Appcontroller.structure", 'callback' => array("this", "addCode") ) ); } public function addCode($event) { //$params = $event->getParams(); $params['controller'] = array("AdminLiveChatCount"); $params['action'] = "body_end"; $params['portal'] = "admin"; $event->setParams($params); }