tanicos Posted August 29, 2010 Share Posted August 29, 2010 hi alli'm creating a new template and i really need to change the right column position to be before the center column.i added the {$HOOK_RIGHT_COLUMN} to the header.tpl before the content but it does not display.any ideas?thanks Link to comment Share on other sites More sharing options...
Patric Posted August 30, 2010 Share Posted August 30, 2010 Topic moved. Link to comment Share on other sites More sharing options...
rocky Posted August 31, 2010 Share Posted August 31, 2010 That won't work because the right column hook is called in footer.php, not header.php: 'HOOK_RIGHT_COLUMN' => Module::hookExec('rightColumn'), The easiest solution is to copy that line over to header.php, but if this is a theme you are going to release, it is not a good idea to modify PHP files. The only thing I can think of that might work without modifying PHP files is to add the following to header.tpl where you want the right column code to appear: {php}echo Module::hookExec('rightColumn');{/php} That should hopefully get the output of the right column hook. 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