Changes

Added priority number details
Line 11: Line 11:  
or
 
or
 
* '''interface_99_mod''MyModule_Xxx''.class.php'''
 
* '''interface_99_mod''MyModule_Xxx''.class.php'''
where ''Xxx'' is a string of your choice startint with uppercase character and ''MyModule'' is the name of a module if you want that trigger is activated only if module MyModyle is activated. If you want the trigger to be always active, use ''all'' instead of  modMyModule.
+
where ''Xxx'' is a string of your choice startint with uppercase character, ''99'' is the priority number for the execution of your trigger (1 being the top priority) and ''MyModule'' is the name of a module if you want that trigger is activated only if module MyModyle is activated. If you want the trigger to be always active, use ''all'' instead of  modMyModule.
 
This new file must be saved inside same directory.
 
This new file must be saved inside same directory.
 +
 
Note: Value you can use for modMyModule are values found in directory
 
Note: Value you can use for modMyModule are values found in directory
 
''htdocs/includes/modules''.
 
''htdocs/includes/modules''.
 +
 +
'''WARNING''': '''All''' those parameters are necessary for the trigger to be detected and executed! Eg: if you forget the priority number, your trigger won't be detected!
    
For example, you can name your new trigger file:  
 
For example, you can name your new trigger file:  
439

edits