hujer Posted June 18, 2008 Share Posted June 18, 2008 Hello all,in block category is list of category set up to A-Z by default (i gess), is posible make own order of categories? I need some of them put to the end of the list.Can somebody help please?Thanks a lot.Big up to presta team!Frantisek Link to comment Share on other sites More sharing options...
Julien Breux Posted June 18, 2008 Share Posted June 18, 2008 I don't know :s Link to comment Share on other sites More sharing options...
Philippe Posted June 18, 2008 Share Posted June 18, 2008 You can change the order by placing a number followed by a dot before the name of each category.Ex :1. Category 12. Category 2As the numbers and dots remains hidden, you'll get the following appearance :Category 1Category 2 Link to comment Share on other sites More sharing options...
ejectcore Posted June 18, 2008 Share Posted June 18, 2008 You can change the order of the categoires by date by modifying classes/Category.php assuming you are on RC3 example ORDER BY `id_category` ASC which would be instead of name field, but the only problem with this everytime you update a category it will be moved to the top so you end up trying to update all of them to get the order you want them in, however there may be a way to ORDER BY `date_add` ASC that way all new categories will go to the topThe only other option would be to do some serious mods in the admin & DB to include some type of category sequence.this would take several hours to do if you need this PM me although doing quite a few other mods at the moment so will not be able to help into the weekend Link to comment Share on other sites More sharing options...
mathmenet Posted June 19, 2008 Share Posted June 19, 2008 Hello, It's better if you to used 01., 02., ... like this :01. News02. Application03. TestBecause, if you are more eleven category 11. The number 11 it's before the number 2.sorry for my english, I hope you understand ! Link to comment Share on other sites More sharing options...
ejectcore Posted June 19, 2008 Share Posted June 19, 2008 hujer PM me FTP deatils & I will have a quick look to see if I can come up with something for you Link to comment Share on other sites More sharing options...
hujer Posted June 19, 2008 Author Share Posted June 19, 2008 Hello,thanks to all.It whould be great to get the sequence by placing that numbers, but where i should do it?I didnt find possibility in any php/tpl folders and even in back office, but maybe i am blind Frantisek Link to comment Share on other sites More sharing options...
hujer Posted June 19, 2008 Author Share Posted June 19, 2008 And yes, going RC3 Link to comment Share on other sites More sharing options...
hujer Posted June 19, 2008 Author Share Posted June 19, 2008 oh easy, i duno got it..works well, if i put the number right in name of category by editing in back office.Thank you all guys for hlep !!! Link to comment Share on other sites More sharing options...
Presta-TR Posted January 27, 2009 Share Posted January 27, 2009 how is made?category name is rename to first add to 01 - 02 etc.?please retell the resolve.thx. Link to comment Share on other sites More sharing options...
Recommended Posts