Felipe_CN Posted February 1, 2016 Share Posted February 1, 2016 Hi, I would like to change a CMS page from the menu to the top header, beside "Log in" as the pictures shows. Can someone help? Link to comment Share on other sites More sharing options...
jmarceli Posted February 2, 2016 Share Posted February 2, 2016 You should probably transplant top menu to the displayNav hook. Checkout this tutorial: https://mypresta.eu/en/art/prestashop-16/block-top-menu-displaynav.html Link to comment Share on other sites More sharing options...
Felipe_CN Posted February 2, 2016 Author Share Posted February 2, 2016 You should probably transplant top menu to the displayNav hook. Checkout this tutorial: https://mypresta.eu/en/art/prestashop-16/block-top-menu-displaynav.html Hi! Thanks, but I don't want to but all the menu in the header, just one category (that's a cms page). Link to comment Share on other sites More sharing options...
jmarceli Posted February 2, 2016 Share Posted February 2, 2016 You may try sth. like: <a href="{$link->getCMSLink('8', 'new')|escape:'html'}">Your CMS Page</a> inside you theme .tpl files. Where: '8' - CMS page ID 'new' - SEO "friendly" name See: http://hassadee.com/2012/10/06/how-to-link-to-page-of-cms-in-prestashop/ and http://www.templatemonster.com/help/prestashop-1-6-x-how-to-add-cms-page-with-link-in-headerfooter-menu.html#gref for more info. 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