× Have a Joobi Ultimate Plan Subscription? Discuss with Joobi experienced developers. Share code samples, best practices and development tips!

Event name that triggers action

4 years 11 months ago #3491 by Saher AlSous
Event name that triggers action was created by Saher AlSous
What I need to develop is a jMarket plugin. This plugin have to connect with jomsocial and put the content in the vendor home page. This is why I need a custom event name (trigger) that is triggered when a vendor's page is viewed. This is how plugins work, we need a trigger to call it.

You know this thing well be done inside a plugin, and in a plugin we need an event to be triggered, then the timeline content will be returned to be placed in a space in the vendor page. So, I need an event name from you that will be triggered once vendor page is displayed.

Please Log in or Create an account to join the conversation.

4 years 11 months ago #3498 by Saher AlSous
Replied by Saher AlSous on topic Event name that triggers action
I was move around the files over here: /public_html/joobi/node/events
and i checked several codes in it, sadly im not a programmer, but I'm sure that i must have seen the controller name that creates the event, is it this one?

$IAP5->whereE( 'ctrid', $IAP3 ); --> $IAP3

$IAP2->whereE('actid',$IAOZ); --> $IAOZ

{"layout_node":{"wizard":"1","wid":"#events.node",...

=======
class Events_Trigger_type extends WTypes {

var $trigger=array(

'0'=> 'All trigger','1'=> 'No trigger','10'=> 'User trigger','50'=> 'Ohter dev.','98'=> 'Only App. Dev'
=============

906
events.node
events
Events
150
.....
====================

function addcontroller(){

$IAOZ=WGlobals::get('actid');

$IAP0=WGlobals::get('ctrid');

$IAP1=WGlobals::get('add');

=============

any luck?

Please Log in or Create an account to join the conversation.

Moderators: Cheryl SabaritaGrzegorz SvobodaVanessaJordanJomel