AnsweredAssumed Answered

logic_hooks.php File Overwritten After New Module Installed

Question asked by Colin Schouten on Jan 6, 2017
Latest reply on Jan 10, 2017 by Colin Schouten

I've developed a number of installable module packages for our organization. I closely followed this Sugar Documentation on LogicHooks: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/Extension_Framework/LogicHooks/ 

 

For some reason, after I installed the second package within the target module (in this case Opportunities), I noticed the logic_hooks.php file in custom/Extension/modules/Opportunities/Ext/LogicHooks no longer included the previously installed logic hooks. 

 

Could someone please recommend the proper paths for installing logic hooks that way any preceding logic hooks aren't overwritten? I'm not sure if I'm missing something totally obvious here...

 

Thanks!

Outcomes