Jump to content

Hook_footer


chordz

Recommended Posts

Hi, i am a bit new to prestaShop and smarty. I have configured the footer.tpl and made as desired. Now i need to add is another module (reassurance) module in the footer . But when i enable it it overlaps my current footer..

 

The questiion is the from footer.tpl file {$Hook_footer} calls the footer to be made. Now i used this for the block categeroies to be shown on the site. Now , the thing i need to understand is that, after this how is it still going to show or create another block,the reinsurance one or the social media one. !

i assume there is a function which checks which modules are enabled for the footer and then when Hook_Footer is called it dispalys them in that place. But i want 2 or more to be on different place. not all modules to be on the same place.

 

Hope you understood.. i have attached two files aswell

 

thanks

post-455322-0-35188700-1360658079_thumb.png

post-455322-0-47256400-1360658080_thumb.png

Edited by chordz (see edit history)
Link to comment
Share on other sites

yea i can do that , but the thing is i myself has configured the footer.tpl file

 

and i want something like this.... (mod1 and mod2 are modules HTML)

 

<mod1>.......</mod1>

<div>My changes</div>

<mod2>........</mod2>

 

if i call Hook_footer in palce of mod1, it will also show mod2 irrespective of positions. and similarly if i show in mod2.

Hope you understood now :)

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