serpeal79 Posted June 22, 2015 Share Posted June 22, 2015 Hi! I've managed to order the topmenu subcategories by name and also the categories list by name (in the left column), but I don't know how to order the subcategories grid by name. See this link: http://www.djstore.es/iluminacion_36.html Categories in the left column are ordered by name. Categories in the Top Menu are ordered by name, but the grid in the middle is ordered by position. Where's the code to change this? Thanks in advance. Kind regards. Link to comment Share on other sites More sharing options...
Paulito Posted June 22, 2015 Share Posted June 22, 2015 Hello Just go to the: Parent category > View and "Drag and Drop" them http://screencast.com/t/DZYZ7ZEX http://screencast.com/t/lGnENIyy http://screencast.com/t/fCPAOz5B Paul Link to comment Share on other sites More sharing options...
serpeal79 Posted June 23, 2015 Author Share Posted June 23, 2015 Hello Just go to the: Parent category > View and "Drag and Drop" them http://screencast.com/t/DZYZ7ZEX http://screencast.com/t/lGnENIyy http://screencast.com/t/fCPAOz5B Paul Hi, Paul. Thanks for your reply. I knew this method, but I meant something automatic, like modifying the select code to change the ORDER BY statement for cl.'name' instead of position (I have more than 1k categories). Thanks in advance. Link to comment Share on other sites More sharing options...
erouvier29 Posted June 23, 2015 Share Posted June 23, 2015 Where's the code to change this? /classes/Category.php, function getSubCategories Regards Link to comment Share on other sites More sharing options...
serpeal79 Posted June 23, 2015 Author Share Posted June 23, 2015 Thanks, eruvier29. I haven't tried yet, but sure it will work. Kind regards. Link to comment Share on other sites More sharing options...
Recommended Posts