snewpers Posted January 4, 2009 Share Posted January 4, 2009 Hi How do I remove the links from the parentcategories?I want the parent category (like 'iPod') top open the menu and not go to the page with subs. So basically I want the parentcategory to behave like the '+' and '-', open/close the tree.Any hints? Link to comment Share on other sites More sharing options...
disarci Posted January 13, 2009 Share Posted January 13, 2009 +i also need this.tks Link to comment Share on other sites More sharing options...
badjoker Posted January 14, 2009 Share Posted January 14, 2009 Hello,Solution:1st step - edit file 'category-tree-branch.tpl', located in yourshop/modules/blockcategories/replace {$node.name|escape:htmlall:'UTF-8'} with {$node.name|escape:htmlall:'UTF-8'} 2rd step - edit file'global.css', located in yourshop/themes/prestashop/css/remove or comment classes div#categories_block_left span.OPEN { background: no-repeat left top url('../img/icon/less.gif'); } div#categories_block_left span.CLOSE{ background: no-repeat left top url('../img/icon/more.gif'); } div#categories_block_left span.grower{ display:block; float:left; background-position: 0px 3px; background-repeat: no-repeat; width:9px; height:15px; margin: 0 0 0 -10px!important; margin: 0 0 0 -6px; padding: 0; } Link to comment Share on other sites More sharing options...
qdssoftware Posted March 16, 2010 Share Posted March 16, 2010 hello, thanks but this solution is totally opposite that was requested :you have cleared ajax code and now only shows category page ..or could be that I have modified it wrong? Now my categories block only links to categories, butdynamic animations have disapeared correction Your modification is perfect! I was mistaked because I was made changes on "THEME" path, not at "MODULES" pathbut now I can't understand why it was not working? is supposed that theme path is execute after modules isn't it?thanks! regards Link to comment Share on other sites More sharing options...
badjoker Posted July 9, 2010 Share Posted July 9, 2010 Your modification is perfect! I was mistaked because I was made changes on "THEME" path, not at "MODULES" pathbut now I can't understand why it was not working? is supposed that theme path is execute after modules isn't it?thanks! regards Ussualy files from theme must to override the main files. I will test again in few moments and I will let you know.Answer: For me is work but i have a similar problem with the languages files from the modules. I wait answers in other topics about this.Let me know if you fixed. Link to comment Share on other sites More sharing options...
HEX25 Posted June 24, 2012 Share Posted June 24, 2012 (edited) replace {$node.name|escape:htmlall:'UTF-8'} with {$node.name|escape:htmlall:'UTF-8'} What I must replace? These lines are identical. Can anyone help me? Edited June 25, 2012 by HEX25 (see edit history) 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