Jump to content
  • 0

Podkategorie ułożone alfabetycznie - jak to zrobić?


luki4ever

Question

4 answers to this question

Recommended Posts

  • 0

w pliku modułu:

blockcategories.php

jest taka linia:
 

$this->_menu .= $this->generateCategoriesMenu(Category::getNestedCategories($id, $id_lang, true, $this->user_groups));

zatem to co musimy zrobić to zdefiniować $sql_sort

w tym celu linię o której wspomniałem rozbudowujemy o dodatkowe argumenty

$this->_menu .= $this->generateCategoriesMenu(Category::getNestedCategories($id, $id_lang, true, $this->user_groups,true,'','ORDER BY c.`level_depth` ASC, cl.`name` ASC '));
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...