Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Common Information > General Chat

General Chat That's the right place for your to discuss anything you want.

Reply

 

LinkBack Thread Tools Display Modes
Old 10-17-2007   #1 (permalink)
Member
 
Join Date: Oct 2007
Posts: 34
oliver is on a distinguished road
Default edit/remove numbers in Article Categories

Hi,

I want to do the following:

1.) remove numbers of article in Article Categories

or

2.) How to edit the numbers in Article Categories and add the articles inside sub-categories?
The number will appear will be the total numbers from categories and sub-categories.
oliver is offline   Reply With Quote
Old 10-17-2007   #2 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: edit/remove numbers in Article Categories

It is easier to remove this numbers. In your template folder open file header.tpl and find line
Code:
<!-- top categories block start -->
a little below you can see line
Code:
({$cat.count})
remove this line and numbers disappears.
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 10-18-2007   #3 (permalink)
Member
 
Join Date: Oct 2007
Posts: 34
oliver is on a distinguished road
Default Re: edit/remove numbers in Article Categories

no. 1 is working, how about the no. 2

2.) How to edit the numbers in Article Categories and add the articles inside sub-categories?
The number will appear will be the total numbers from categories and sub-categories.
oliver is offline   Reply With Quote
Old 10-18-2007   #4 (permalink)
Member
 
Join Date: Oct 2007
Posts: 34
oliver is on a distinguished road
Default Re: edit/remove numbers in Article Categories

also,

no. 3

How can I list the categories alphabetically?
oliver is offline   Reply With Quote
Old 10-18-2007   #5 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: edit/remove numbers in Article Categories

2.) How to edit the numbers in Article Categories and add the articles inside sub-categories? The number will appear will be the total numbers from categories and sub-categories.
Now it is impossible, it will be implemented in next release.

3) How can I list the categories alphabetically?
Where is you want alphabetic sorting, in browse by category or top categories displayed on side panel?
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 10-18-2007   #6 (permalink)
Member
 
Join Date: Oct 2007
Posts: 34
oliver is on a distinguished road
Default Re: edit/remove numbers in Article Categories

How can I sort this alphabetically?

Heres my live site category displayed on the left side below common menu:

Article Categories
Computers and Internet
Entertainment
Automotive
Electronics
Family
Fashion and Beauty
Finances
Food and Beverages
Health and Fitness
Holidays and Special Occasions
Legal
Marketing
Pets, Livestock, and Wildlife
Recreation and Sports
Relationships
Self Improvement
Travel and Leisure
Writing and Speaking
Home Improvement
Men Health
Security Services
Arts and Crafts
Jobs and Employment
oliver is offline   Reply With Quote
Old 10-18-2007   #7 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: edit/remove numbers in Article Categories

Open file classes/xaFront.class.php, find function getTopCategories() and paste
PHP Code:
$sql .= "ORDER BY cat.`title` ASC "
after line
PHP Code:
$sql .= "GROUP BY cat.`id` "
__________________
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
Manage Comment ~ Edit Error LorenGK Subrion Core Discussion 6 06-06-2007 07:02 AM
Article edit ~ needs editor LorenGK Subrion Core Discussion 4 06-03-2007 10:21 PM
Sub-item categories redeye Subrion Core Discussion 1 04-16-2007 10:35 PM


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


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