Topic: how to Arrange Categories to alphabetical order
Hallo,
If you know how to organize categories in ascending or descending order please help.
Also remember to take it easy for newbie’s like me. Thanking you, www.piecejob.co.za
Welcome to jobberBase Developer Community!
You are not logged in. Please login or register.
We've just added a new category for forums dedicated to local communities.
If you're interested in starting a community in your country or even city, please write us at hello@jobberbase.com and we'll make it happen.
We're also looking for moderators on each local community -- so email us :).
Pages: 1
Hallo,
If you know how to organize categories in ascending or descending order please help.
Also remember to take it easy for newbie’s like me. Thanking you, www.piecejob.co.za
Hi!
There are 2 solutions:
1. Don't know if you have noticed, but you can reorder the categories via drag&drop from the admin section. Just click the blue bar (above the category's name) and drag it wherever you want in order to arrange it.
2. Open /_includes/functions.php and find function get_categories() (around line 18).
A few lines below, replace `category_order` with `name`.
By default, they will be sorted in ascending order because there is the ASC keyword. If, for whatever reason, you want to display them in descending order, replace the word ASC with DESC.
Good luck!
Last edited by putypuruty (2009-03-12 18:10:55)
Hi!
There are 2 solutions:
1. Don't know if you have noticed, but you can reorder the categories via drag&drop from the admin section. Just click the blue bar (above the category's name) and drag it wherever you want in order to arrange it.
OMG Thank You. I couldn't find that feature.. I was deleting and re-adding them in a specific order then i was gonna hack the categories table sort order...i knew he had to have put that in but thought perhaps it was still in development.
This is something i was looking from many days. At last found it here.
Posts [ 4 ]
Pages: 1
Powered by FluxBB
[ Generated in 0.031 seconds, 11 queries executed ]