Jump to content

Recommended Posts

Posted

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 ?

Posted

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)

Posted

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.

Posted

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 .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...