Number Nine Posted July 25, 2010 Share Posted July 25, 2010 Hello,I have this code in header.tpl which shows a horizontal menu bar with CMS pages.{foreach from=$cmslinks item=cmslink}{$cmslink.meta_title|escape:'htmlall':'UTF-8'} {/foreach}Is there a way of EXCLUDING one or more pages from the menu?Thanks. Link to comment Share on other sites More sharing options...
msk69 Posted July 25, 2010 Share Posted July 25, 2010 is that menubar a mod? does not seem that it's a standard PS thing.If it's a mod, you'd probably have to search in the code of that mod. Link to comment Share on other sites More sharing options...
rocky Posted July 26, 2010 Share Posted July 26, 2010 Topic moved since it is related to a third-party module Link to comment Share on other sites More sharing options...
Number Nine Posted July 26, 2010 Author Share Posted July 26, 2010 Thanks for your reply msk69.Actually, that code was taken from the Prestashop files.I did it some weeks ago, and now I do not remember from which file.My knowledge of PHP is not excellent, and therefore I do not know that the right procedure and syntax is to intervene in that code, so that one or more CMS page IDs can be excluded.Anyway, all comes from within Prestashop.Shoud this topic go back to the original section? Link to comment Share on other sites More sharing options...
rocky Posted July 26, 2010 Share Posted July 26, 2010 Topic movedThere is a configuration page in the "Info block" and "Footer links block" that lets you choose which CMS pages you want to display. I suggest that you look at how it excludes CMS links. 1 Link to comment Share on other sites More sharing options...
Number Nine Posted July 26, 2010 Author Share Posted July 26, 2010 Oh boy, that was so easy!Thank you rocky for your suggestion! Link to comment Share on other sites More sharing options...
ROB001 Posted October 22, 2011 Share Posted October 22, 2011 I know this is an old post but it is the closest to my topic. I have removed 3 of the 4 links I have wanted from the footer. Now I am looking to remove the "home" link from the rest of my cms links. Any info? Thanks, 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