AnsweredAssumed Answered

Logic Hook with built module

Question asked by Brenda Quintero on Apr 13, 2015
Latest reply on Apr 13, 2015 by Brenda Quintero
I built a module, and i try to add a logic_hook
I add a file into modules/[Module name]/  the logic_hook file contains:

<?php    $hook_version = 1;  $hook_array = Array();  $hook_array['before_save'][] = Array(1,"enviar_email","\modules\A1_T1\A1_T1_hook.php","A1_T1_hook","enviar_email");    ?>  
I try to recreate a example here:

But I created the module A1_T1, so, i need to change the ubication of module. If i do the example, everything works fine, but if a try to do my own example, is doesn't work.

I think that the reason is the ubication, in the example used custom/module, but is only an idea.

¿Could someone help me? xD