Forumlar / Cotonti / Core Labs / Archive / Set categories sorting

by catpath or category title

musiconly
#16957 2009-09-10 17:39
The only disadvantage of using repetitive paths (besides wrong sorting) is that you can't have subcategories. For example, if I used 4 times 9.1 path, I can't have 9.1.1 because system doesn't recognize to which 9.1 category it should be added.

The advantage of using repetitive paths is that you get automated sorting of categories in "Admin > Structure of pages" by alphabet, which isn't the case when you're using different paths for different categories. In that case, category sorting really depends on your language skills (how well you know your alphabet).

That's pretty easy when you have 5,10,50 categories. But imagine you have 2000+ categories (Lombi has even more)! This is where you get a headaches. Especially when you're adding 10-20 new categories a day.

Live example:


So how do I feel when I need to add 10 new categories somewhere in between those? Path codes range from 8-12 numbers because of extra space for the upcoming categories.

By using one path code for more categories which I know I won't be needing subcategories, my work is 100 times easier because I know that under path code 9.1 I'm going to place all categories which are starting with the letter A, 9.2 for letter B and so on. I only have to worry about the first letter of the new category, system will do the alphabetical sorting by category code.
Easier way to handle things, right? :)

I know my case is specific ATM, but running large websites on Cotonti shouldn't be a pain in the.. well you know..

So this is why I need them sorted out alphabetically in frontend :)