I’m trying to use a “after_ui_footer” logic hook in order to pull in a javascript file after the subpanel(s) have been loaded in my custom module. I’ve set the following in my custom/modules/mymodule/logic_hooks.php:
which looks as though it’s calling the logic hook without a module identifier. Any custom (or other) modules that have specific after_ui_footer hooks will -not- be processed.
You’re absolutely right; this hook is an application-wide one and not module-related per se; however, the same could be said of the after_ui_frame which, in fact, -does- pull in the module name in it’s context call.
I’ll try to place my code into the more global custom/modules/logic_hooks.php and add the module/view conditions into the called function, but to be honest if there are several such hooks to be placed specifically for custom modules, isn’t it a more feasible idea to directly relate these to the modules rather than a series of globals with conditionals?