vocoder21 Posted May 4, 2008 Share Posted May 4, 2008 In index.tpl there is this code-->{$HOOK_HOME} if i want to change the index where can i find the page {$HOOK_HOME} The same for the right and left colunns thanks Link to comment Share on other sites More sharing options...
libel Posted May 4, 2008 Share Posted May 4, 2008 hi, about the hooks, you have to see which modules are installed in the back office and find it in the Modules directories. for exemple, [blockcategories] is installed in the left column {HOOK_LEFT}. in the php file (blockcategories.php), you can find in line 81: function hookLeftColumn($params) [blockpermanentlinks] is installed and the {HOOK_TOP} blockpermanentlinks.php line 18 -> function hookTop($params) etc. now, if you want to modify a module, you have to examine the wright *.tpl file. for the others *.tpl files to modify the template, you have to see in the theme directorie. the structure is like this : Header.tpl --> [HOOK_HEADER] --> header's modules --> [HOOK_TOP] --> top's modules --> center --> (theme/your theme/tpl file) --> [HOOK_LEFT_COLUMN] Footer.tpl --> [HOOK_RIGHT_COLUMN] --> [$HOOK_FOOTER] i don't know if its really clear and sorry about my english ^^ 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