prestashop_newuser Posted March 26, 2014 Share Posted March 26, 2014 Hi, I am just a newbie in prestashop theme development. I am just developing a theme in prestashop 1.6. I have seen backend module position system where someone can change the position. But in my case I want that when someone will take this theme he doesn't need to change any thing. He will just put this theme in his themes folder and make it active and the changes will be done. Now I have a reference image for template and I want to make the theme like that. In this I have attached the reference image for footer screenshot. But in default prestashop 1.6 you can see the footer design is different. I want to make it like as my design. So for that I just checked footer.tpl of theme . There I can see only <footer id="footer" class="container"> <div class="row">{$HOOK_FOOTER}</div> </footer> All the things are coming from $HOOK_FOOTER I don't know what is going behind $HOOK_FOOTER and how can I make changes of the content inside footer as per th referenced image. So here my question is how to make change the footer content without module positioning from backend so that when someone takes the theme folder and installs it in his prestashop then his footer will be look exactly like the referenced image? Any help and suggestions will be really helpful. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted March 26, 2014 Share Posted March 26, 2014 I don't know what is going behind $HOOK_FOOTER hook footer displays modules attached to displayFooter hook. you can get list of modules attached to this hook under: modules>positions tab in your back office. Search there for "displayFooter" modules list. you will see there addons attached to this position. each module has got own tpl file - you have to modify modules .tpl files, and if you want to change module appearance you can also change module positions in back office (modules > positions > displayFooter modules list) 1 Link to comment Share on other sites More sharing options...
kavigullu26 Posted May 22, 2014 Share Posted May 22, 2014 how do i bring all the Modules on the footer to same Row. I have set the footer column count to 4. Hooked 1) My account Block 2) CMS block 3) News Letter 4) Fanpage Likebox free(by MyPresta.eu) First 3 modules occupies the 3 column, but the Likebox goes to next row instead occuping 4th column. FreeFanpage Likebox Free Link to comment Share on other sites More sharing options...
designerfort Posted June 22, 2014 Share Posted June 22, 2014 Is there a way to include few modules in hookFooter variable .thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted June 22, 2014 Share Posted June 22, 2014 hello yes it is possible just attach modules to displayFooter hook. you can manage modules in this hook under modules > positions tab in back office. 1 Link to comment Share on other sites More sharing options...
sam.jose Posted February 27, 2015 Share Posted February 27, 2015 Hi, I wish to ask a question much similar to the one asked by @kavigullu26 above.I know very well that I can manage modules in this hook under modules > positions tab in back office.How if I have to reposition them? (say if I have to move the social networking block to the bottom of the footer, instead of displaying it in the top of th footer) Link to comment Share on other sites More sharing options...
Recommended Posts