Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 ^^

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More