Jump to content

[Doubt] $ HOOK_TOP and $HOOK_HOME?


Recommended Posts

Topic moved since it is not specific to a third-party theme

You 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'));

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...