gbonline Posted January 24, 2014 Share Posted January 24, 2014 Hi, I'm trying to customize a few the default template of last prestashop installation, v 1.5.6.1. I enlarged the space from 980px to 1200px, and also changed all the other fixed dimensions. For the footer,also, but now I need to put the footer content on center in the footer. I've found the footer tpl file, where there ia a $HOOK_FOOTER template variable, but i cannot found it on the code, where it is? I know that footer is combined with some block like reinsurance, contact etc. But under the reinsurance block there is an area filled by other blocks, I would like to insert a div container for all that blocks theat have a css property like margin: 0 auto; to center the content in footer space. How I can do this? thanks to all GB Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 go to modules> positions search for "displayFooter" modules list you will see there all modules added to the footer hook. then you can customize these modules (you have to modify .tpl files of these addons) or just css styles (if you want to modify css stylesheet) 1 Link to comment Share on other sites More sharing options...
WebDevAE Posted January 22, 2015 Share Posted January 22, 2015 HI, and where is the code that generates the hook_footer ? Thanks. Link to comment Share on other sites More sharing options...
vekia Posted January 22, 2015 Share Posted January 22, 2015 classes/controllers/front/FrontController.php Link to comment Share on other sites More sharing options...
izoweb Posted January 10, 2017 Share Posted January 10, 2017 classes/controllers/front/FrontController.php But where can i edit the col-xs-6 that is inside the HOOK_FOOTER? There's some bootstrap classes inside that i cant reach using the footer.tpl in the template folder. Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2017 Share Posted January 10, 2017 it depends on theme, this what you're looking for is a part of VIEW in MVC model. design things are not related to prestashop core (model,controller). you can check footer.tpl file located in your theme directory, search there for {$HOOK_FOOTER} variable, somewhere near this variable you should find what you're looking for. if not - this means that code you're looking for is a part of some module associated with displayFooter hook. in this case it will be necessary to analyse these modules' .tpl files. one of them contains string you want to find. 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