Jeet Kune Do Posted April 29, 2011 Share Posted April 29, 2011 For category positioning I use the following method in prestashop version 1.3.2. (I know the new version has a better feature, but I don't want to upgrade yet because the template)Rename the categories like01. LED Sopt Lights02. LED Down Lights03. LED Highbay Lightsand so on…The problem is that I have the module Top horizontal menu v1.1 which displays the numers.Could you be please so kind to write which code disables the display of the numbers in front?Thank you in advance! Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 29, 2011 Author Share Posted April 29, 2011 Somebody? Please it's urgent! Link to comment Share on other sites More sharing options...
Nikpro Posted April 29, 2011 Share Posted April 29, 2011 Somebody? Please it's urgent! open tbl module and find ( foreach - number product) Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 29, 2011 Author Share Posted April 29, 2011 Somebody? Please it's urgent! open tbl module and find ( foreach - number product) #NIKS Thank you very much for your answer.Could you please be more specific what should I do? I really don't understandShould I open the sql table, module files....I don't now where to start.Sorry for my stupidity Link to comment Share on other sites More sharing options...
Nikpro Posted April 29, 2011 Share Posted April 29, 2011 go to the folder module Top horizontal menu v1.1Put here code from a file menu.tbl (or something like that)We show that the delete ........ If I understand correctly - you want to remove Number of products (near to the name)? Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 29, 2011 Author Share Posted April 29, 2011 I should use numbers in order to control the position of my category.For example:01. Cars02. Motorbikes03. CustomsThe problem is that the Top horizontal menu v1.1 don't hide those numers. It' show exactly like above.I would like that module to show like the category three (by default the numbers are hidden into the categorys names)CarsMotorbikesCustomsI hope I could explain my self better.Thank you in advance. Link to comment Share on other sites More sharing options...
Nikpro Posted April 29, 2011 Share Posted April 29, 2011 I should use numbers in order to control the position of my category.For example:01. Cars02. Motorbikes03. CustomsThe problem is that the Top horizontal menu v1.1 don't hide those numers. It' show exactly like above.I would like that module to show like the category three (by default the numbers are hidden into the categorys names)CarsMotorbikesCustomsI hope I could explain my self better.Thank you in advance. here you can surf the tbl and some php know))) I'm not familiar with it.I would have done 2. menu)In the first independently scored the numbers menu, and the second without the numbers.And cherezdoval least through postion (unvisible) Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 30, 2011 Author Share Posted April 30, 2011 I really don't understand what should I do... :red: Link to comment Share on other sites More sharing options...
jeevanoss Posted April 30, 2011 Share Posted April 30, 2011 You can use code given below to remove integer part Replace the category name geting code with if(count(explode('.', $categorie->name)) > 1) $name = str_replace('.', '', strstr($categorie->name, '.')); else $name = $categorie->name; Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 30, 2011 Author Share Posted April 30, 2011 You can use code given below to remove integer part Replace the category name geting code with if(count(explode('.', $categorie->name)) > 1) $name = str_replace('.', '', strstr($categorie->name, '.')); else $name = $categorie->name; Thank you very much for your suggestion. I attached the top menu file, maybe you could help me where to add this code.I will really appreciated!blocktopmenu.php Link to comment Share on other sites More sharing options...
jeevanoss Posted April 30, 2011 Share Posted April 30, 2011 Corrected file attached.Pls check. blocktopmenu.php Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 30, 2011 Author Share Posted April 30, 2011 Corrected file attached.Pls check. I checked and now when I'm adding link's in Back office the numers are hidden, but in the Front office it's remain the same.I attached the whole module, maybe we need to change also other files.I really appreciated that you take some time to help me out!blocktopmenu.zip Link to comment Share on other sites More sharing options...
jeevanoss Posted April 30, 2011 Share Posted April 30, 2011 Corrected the same file & attached.Pls check. blocktopmenu.php Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted April 30, 2011 Author Share Posted April 30, 2011 Corrected the same file & attached.Pls check. #jeevanossI really don't have words to thank you!!!!Thank you very very very much for your time and help!I really appreciated.I hope I could return the favor.Wish you all the best bro! 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