brunokawakami Posted July 14, 2010 Share Posted July 14, 2010 Where do I go to edit the variable $ HOOK_TOP and$ HOOK_HOME?Thanks in advance! Link to comment Share on other sites More sharing options...
rocky Posted July 15, 2010 Share Posted July 15, 2010 Topic moved since it is not specific to a third-party themeYou should go to Modules > Positions to rearrange the order of modules in the "Top of pages" and "Homepage content" hooks. You need to modify the code inside the hookTop and hookHome functions in each module to change the content.It is the following code on line 18 of header.php that gets the code for {$HOOK_TOP}: 'HOOK_TOP' => Module::hookExec('top'), and the following code on line 10 of index.php that gets the code for {$HOOK_HOME}: $smarty->assign('HOOK_HOME', Module::hookExec('home')); 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now