Triggers system: Difference between revisions

Jump to navigation Jump to search
m
m (A few minor grammatical changes)
Tag: 2017 source edit
Line 16: Line 16:
So, to add your own code that will be triggered by a Dolibarr trigger, this is the process:
So, to add your own code that will be triggered by a Dolibarr trigger, this is the process:


1) Copy the trigger file '''htdocs/core/triggers/interface_90_all_Demo.class.php-NORUN''' under the new name: <!-- Is this still accurate? -->
1) Copy the template trigger file '''htdocs/modulebuilder/template/core/triggers/interface_99_modMyModule_MyModuleTriggers.class.php''' under the new name:


*'''interface_99_all_''Xxx''.class.php'''
*'''interface_99_all_''Xxx''.class.php'''

Navigation menu