开发者

SugarCRM 6 logic hooks

开发者 https://www.devze.com 2023-01-15 15:19 出处:网络
I\'m developing an logic hook for calls, meetings and tasks, but I can\'t get it to work! I have done many logic hooks but the module calls, meetings and tasks seems to ignore the logic_hook.php file!

I'm developing an logic hook for calls, meetings and tasks, but I can't get it to work! I have done many logic hooks but the module calls, meetings and tasks seems to ignore the logic_hook.php file!

So, I have created a logic_hooks.php in custom/modules folder with the hook 'before_save' (like the others that I have created until now - I also tried the after_save), but it didn't work so I开发者_JAVA技巧 putted separated logic_hooks.php in custom/modules/tasks because I thought that SugarCRM ignored the logic_hooks.php in custom/modules folder in this modules. But still can't get it to work! (the content of the function is a die(), so no errors in code - I checked the sugarcrm.log)

How can I get it to work?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号