bitshok Posted April 12, 2013 Share Posted April 12, 2013 Hello! Does anyone know how can I test if a position contains a module? Or is there a way to get a list of what modules a position contains? Thanks! Link to comment Share on other sites More sharing options...
vekia Posted April 12, 2013 Share Posted April 12, 2013 go to the modules -> positions you've got there a list of hooks with modules which are attached to it Link to comment Share on other sites More sharing options...
bitshok Posted April 12, 2013 Author Share Posted April 12, 2013 I was actually looking for a php way to get the list of modules from a position. After looking at the Hook.php functions I've found that I could use the getHookModuleExecList('hook_name') or getModulesFromHook('hook_id') Link to comment Share on other sites More sharing options...
Recommended Posts