I wonder if it possible to organize the categories and subcategories by name ... seconds as shown in the table. piwigo_categories with the column name.
currently do this manually by going to the function given categories. and choose the category and I alphanum reverse. I wonder if piwigo may do so by default, I can see or find how to change this?
PD: I apologize for the misuse of the English language ... Well this is not my mother tongue.
JulianR wrote:
I wonder if it possible to organize the categories and subcategories by name ... seconds as shown in the table. piwigo_categories with the column name.
currently do this manually by going to the function given categories. and choose the category and I alphanum reverse. I wonder if piwigo may do so by default, I can see or find how to change this?
To sort categories, or sub-categories within a category, you can choose either alphanumerical order, or reverse alphanumerical order, or drag and drop categories to reorganize them.
Don't forget to "save order" once you're done.
There is no other way to do it (sorting the pictures within their category is another matter).
JulianR wrote:
PD: I apologize for the misuse of the English language ... Well this is not my mother tongue.
Not mine either ;-)
You might be more comfortable in one of the other languages: we maintain 10 different forum (see languages flags in the upper right corner).
Offline
First of all I very much appreciate your interest, and your response...
what you say is correct, in fact this is how I have to organize all the subcategories and categories ... giving a "reverse alphanumerical order" and after recording. But what I wonder is whether it is possible piwigo do this to all new default categories ... without my having to go to do it manually. that the option "reverse alphanumerical order" is by default in piwigo. Is this possible?
PD:Again sorry for my English, and thanks for the collaboration and interest paid.
JulianR wrote:
But what I wonder is whether it is possible piwigo do this to all new default categories ... without my having to go to do it manually. that the option "reverse alphanumerical order" is by default in piwigo. Is this possible?
As far as I know, it is not possible; when you create a new category, you have to choose where you put it.
Offline
But what I need is to know how to do a bit to automate this process with some script or something ... or that part of the database is saved that option ....?
That is one I can go and enter each category and subcategory that you want to organize each of them so ... alphanumerical order, or reverse alphanumerical order, and save ... But my problem is that by default uses piwigo alphanumerical order ... I need to change this way to reverse alphanumerical order. through some script or by entering the database or something ... What happens is that I am completely lost, I have no idea where piwigo take or store this value. Someone please give us a little help in this regard. since it is very important for me since my sub-categories are growing daily in an average of 200 daily ... and now need to organize a aproximandamente 5000. So this would be of great help to me ..
PD:Again sorry for my English, and thanks for the collaboration and interest paid.
:D
There is no such thing as a default sorting order for category.
Every time you create a new category, it gets the next available id and is simply added to the categories table; and it remains the last till you've put it elsewhere (by drag & drop), or re-sort all the existing categories using the alphanumerical order ... or add a new category that will go further behind this one.
Use PhpMyAdmin to look at your categories table structure, and you will see in which fields the actual sorting order (see screencopy) is saved: rank, and maybe global_rank (I'll ask a developer for details).
Please explain what you're trying to do with so many categories, with such a growing trend. There might be a better way to use Piwigo in order to achieve your goal.
Last edited by tosca (2010-06-11 08:27:39)
Offline
JulianR wrote:
I need to change this way to reverse alphanumerical order. through some script or by entering the database or something ...
Piwigo last version 2.1.1 has a reverse alpha sort in category management.
Don't forget to save the new order before leaving the page.
;-)
Offline
It sounds a lot like this : [Bugtracker] ticket 408
What's your opinion?
Offline
Good afternoon, First of all. thanks for your attention ...
I was looking at the links ... http://piwigo.org/bugs/view.php?id=408 ... of the request made by the previous partner. Well, actually, that would help a lot in my problems ... For if the sub-categories can be arranged from the main category .. for me this would be enough ... Even that should be some default option. ie everyone has different ways to organize your categories, to which should be some way you can manage this by default.
PD: thanks
Good night, regarding the request already made by another user ... http://piwigo.org/bugs/view.php?id=408 I ask a question ... How soon could be ready this new function to organize the categories and subcategories?
They have taken some solution to this problem directly from the menu? or a solution.