Logic Hooks Not Working

Logic Hooks are not working. I followed the documents provided by Sugar. Even logs are not generated. 

Please provide code and specify location where files should be added.

Used below location:

custom/Extension/modules/Ext/LogicHooks/logic_hooks.php

custom/modules/Order/logic.php

Version : 10.3 (Enterprise Edition)

Parents
  • Hi Gautam,

    Please check the below things.

    1.You have to add the definition file in custom/Extension/modules/<modulename>/Ext/LogicHooks/logic_hooks.php where you will define the hook actions that will trigger the logic.

    2.In custom/modules/<modulename>/<yourfilename.php> you have to add your logic file, where you will the original code.

    3.Make sure these files are having the right permissions in the Sugar root directory.

    4.After putting the files in the correct location, you have to perform the Quick Repair and Rebuild to the Sugar Instance.

    If all these things are done correctly, would you mind pasting your files here. So that I can take a look and help to debug the issue.

    Thanks and Regards,

    Poojitha.K

Reply
  • Hi Gautam,

    Please check the below things.

    1.You have to add the definition file in custom/Extension/modules/<modulename>/Ext/LogicHooks/logic_hooks.php where you will define the hook actions that will trigger the logic.

    2.In custom/modules/<modulename>/<yourfilename.php> you have to add your logic file, where you will the original code.

    3.Make sure these files are having the right permissions in the Sugar root directory.

    4.After putting the files in the correct location, you have to perform the Quick Repair and Rebuild to the Sugar Instance.

    If all these things are done correctly, would you mind pasting your files here. So that I can take a look and help to debug the issue.

    Thanks and Regards,

    Poojitha.K

Children