View Single Post

Old 11-10-2008   #2 (permalink)
Sergey Hmelevsky
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: Publishing Categories

Hot to sort articles categories in ABC order in 'Browse Categories' mode:
1. open file packages/publishing/includes/classes/sbr.front.category.php
2. find function getArticleCategories
3. Replace line
PHP Code:
$sql .= false === $aIdParent ?  false "AND `id_parent`='{$aIdParent}' "
with next
PHP Code:
$sql .= false === $aIdParent ?  false "AND `id_parent`='{$aIdParent}' ";
$sql .= "ORDER BY `title` "
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote