Blesta Addons Posted July 10, 2014 Report Posted July 10, 2014 i want to implement some function the event triger , but is not working ,ihave just begin with a basic test code public function getEvents() { return array( array( 'event' => "ClientPay.method", 'callback' => array("this", "run") ) ); } public function run($event) { // This will execute when the "Appcontroller.preAction" event is triggered echo "kaka" ; } another issue , is the event lenght is limited to 32 caractere . i have installed/uninstalled the plugin several times with no effect . is i missed something ? EDIT : maybe the client_pay model has no registred event . we can know the whole events is registred in blesta ? Quote
Tyson Posted July 10, 2014 Report Posted July 10, 2014 Indeed, the ClientPay::method() is not a supported event. Here's a list of supported events. Michael 1 Quote
Blesta Addons Posted July 10, 2014 Author Report Posted July 10, 2014 i want to search/find a solution to this subject "make-gateways-available-for-all-currencies" http://www.blesta.com/forums/index.php?/topic/2687-make-gateways-available-for-all-currencies/ , with out changing the core files . the only workable solution at the moment is the VQMOD "we can override the core function" , what is not in our attention to go with it . is thier any road that we can go with it now ? until the blesta staff decide in this request . (is trivial for us) Quote
Tyson Posted July 10, 2014 Report Posted July 10, 2014 I don't see a way to go about adding that feature without modifying core code or using vQmod, as you mentioned. I think we'll need to discuss that idea more internally. Quote
Blesta Addons Posted July 11, 2014 Author Report Posted July 11, 2014 I don't see a way to go about adding that feature without modifying core code or using vQmod, as you mentioned. I think we'll need to discuss that idea more internally. Thanks for the reply , i have posted a reply in the other thread http://www.blesta.com/forums/index.php?/topic/2687-make-gateways-available-for-all-currencies/ to keepthe thing well arranged . can you see my response thier . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.