stevemul
25th of July 2004 (Sun), 05:00
The order of photographers in the Photographers Section of Settings is in Descending Order of Photographer ID.
I am trying EE to build a Gallery with 50+ photographers. This display order makes maintenance work difficult.
I made the following rough changes in EDITOR_photographer.php that may be of interest to others dealing with large numbers of photogra phers :-
Line 322/323 - change from :-
ORDER BY
ee_owner.ee_owner_id DESC
to :-
ORDER BY
ee_owner.ee_owner_name
There is a problem with this that when you add a new photographer the "New photographer" entry is mixed in alphabetical sequence rather than appearing at the top of the list.
My crude fix is in Line 123 to add a space in front of 'New photographer' making it ' New photographer'. Unless you have a special non alpha-numeric character beginning a photographer's name then ' New photographer' should appear at the top of the list.
I hope this may help anyone dealing with large lists of photographer names. I also hope that someone with a better software fix will post to this msg.
Best regards,
Steve.
Hobart, Tasmania.
I am trying EE to build a Gallery with 50+ photographers. This display order makes maintenance work difficult.
I made the following rough changes in EDITOR_photographer.php that may be of interest to others dealing with large numbers of photogra phers :-
Line 322/323 - change from :-
ORDER BY
ee_owner.ee_owner_id DESC
to :-
ORDER BY
ee_owner.ee_owner_name
There is a problem with this that when you add a new photographer the "New photographer" entry is mixed in alphabetical sequence rather than appearing at the top of the list.
My crude fix is in Line 123 to add a space in front of 'New photographer' making it ' New photographer'. Unless you have a special non alpha-numeric character beginning a photographer's name then ' New photographer' should appear at the top of the list.
I hope this may help anyone dealing with large lists of photographer names. I also hope that someone with a better software fix will post to this msg.
Best regards,
Steve.
Hobart, Tasmania.