My Solution for Sorting Categories Backwards
I'm just starting to set up my Photopost Pro photo gallery. I've been browsing these pages for a few days trying to learn as much as I can. One major issue I came across is the sorting of the categories and subcategories. If a person only has a handful of categories it's not much of an issue but for people like me who'll update their gallery daily it becomes an issue. I will be creating subcategories daily to reflect current events and I want the newest categories on top. My site focuses on celebrity news and one thing that it tracks is current events with photos. Each event will have its own subcategory. This is done so that people can easily browse the category specifically for that event and for SEO purposes.
Seeing that there's no current method of solving this issue I came up with a manual way to do it. The first subcategory that I created I numbered it 99999 instead of 1 and then each subcategory that I create will be one below. I'm working backwards instead of the way it is now. This way I only have to change the latest sub category instead of having to change all of them.
It seems that this issue has been around for some time and I think that it should be a feature that should be added in the up and coming versions. An option to sort categories like the Default Sort Order* for the photos would be awesome.
If you think that this method of working backwards manually will screw something up or you think it's a bad idea please let me know and if there is a solution already and I've overlooked it please post the solution or URL here.
well the default sort order of categories is ASC not DESC meaning they are sorted by their id field. You manually set an order in Admin => Edit Categories.
Default sort order in the edit category screen pertains to the photos not the categories themselves.
There is no explicit way to always place a category at the top of the list since all we can do is grab the last sort of any subcategory and increment to the next one which is what we do.
So if you have 7 subcats we check to see that number and go to the next one. To sort a subcat always on top that means you need to sort every last subcat again which is not done.
After you create a new category you need to set your category display order again.
|All times are GMT -5. The time now is 04:27 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0