Osclass Support Forums
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Olegs on February 12, 2019, 02:47:39 PM
-
Hello. How i can make subcategories in alphabet order. We have 3 languages English, Russian and Latvian. For all three languages we need alphabetical order. Thnks
-
@Olegs
You must reorganize them in backoffice.
-
You mean Backoffice Manager Plugin ?
-
@Olegs
Backoffice of oclass (oc-admin)
Oc-admin > settings > categories
-
@Olegs
Backoffice of oclass (oc-admin)
Oc-admin > settings > categories
In the admin panel you can put the alphabetical order only for one language. For example in English. But in Russian and Latvian we can not do this. Our site uses 3 languages, respectively, all categories have different names.
-
@Olegs
Correct, but as categories are retrieve from database by osclass, you would have to go to core and look for modifications there.
-
Hello. How i can make subcategories in alphabet order. We have 3 languages English, Russian and Latvian. For all three languages we need alphabetical order. Thnks
а почему города не перевел??
не порядок
-
Locate this in oc-includes/osclass/model/Category.php (2 lines):
$this->dao->orderBy('i_position', 'ASC');
and replace them with:
$this->dao->orderBy('s_name', 'ASC');