Subrion CMS Support Forums  

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion CMS Plugins Discussion

Subrion CMS Plugins Discussion Here we discuss Subrion CMS plugins. If you have any questions about existing Subrion CMS plugins you can ask your questions in this forum.

Reply

 

LinkBack Thread Tools Display Modes
Old 11-10-2008   #1 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: Washington, DC
Posts: 27
bosshog001 is on a distinguished road
Default Publishing Categories

How can I get the Publishing Categories to show in alpha order?
bosshog001 is offline   Reply With Quote
Old 11-10-2008   #2 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 622
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
Old 11-13-2008   #3 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: Washington, DC
Posts: 27
bosshog001 is on a distinguished road
Default Re: Publishing Categories

Thanks for your help
bosshog001 is offline   Reply With Quote
Old 11-13-2008   #4 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 622
Sergey Hmelevsky will become famous soon enough
Default Re: Publishing Categories

Always at your service.
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 01-22-2009   #5 (permalink)
Junior Member
 
Join Date: Dec 2007
Location: Washington, DC
Posts: 27
bosshog001 is on a distinguished road
Default Re: Publishing Categories

How do I get the sub-categories to show under the Publishing Category Block?

So Lets say I have a category called Stories and I have a sub-category called fictional what I would like to see is the following

Stories
Fictional Stories
bosshog001 is offline   Reply With Quote
Old 01-23-2009   #6 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 622
Sergey Hmelevsky will become famous soon enough
Default Re: Publishing Categories

open file plugins/pub_cats/install.xml find line
PHP Code:
    $result $sbrDb->all('`title`, `path`''`level`=1 AND `num_all_articles`>0'00'articles_categories'); 
and replace with
PHP Code:
    $result $sbrDb->all('`title`, `path`''`num_all_articles`>0'00'articles_categories'); 
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Publishing Package Vasily B. Article Publishing General Discussion 1 09-29-2008 09:45 AM
Publishing Categories Michael Subrion Core Discussion 2 07-20-2008 11:16 PM
Subrion Free Publishing Available Vasily B. Announcements 0 06-24-2008 11:58 PM
Time out while publishing articles mattf Subrion Core Discussion 1 04-20-2008 10:21 PM
Some question about PUBLISHING TurXaliM Subrion Core Discussion 3 03-31-2008 09:52 PM


All times are GMT -6. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0