RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 06:09:50 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Ordering by Title
Advanced search
  « previous next »
Pages 1
Author
Topic: Ordering by Title  (Read 1953 times)
« on: October 28, 2007, 05:21:01 pm »
shandog Offline
Newbie
*
Posts: 6

View Profile Email

I have created a new template based on the Tables template using the latest alpha release of RSGallery2. My intent is to have a page that lists, in alphabetical order, all of the images in all of the galleries (Just the title linking to that image in the gallery)
I have edited the display.class.php file (Once again, this was the tables template  just renamed) and found the SQL Query in which it states: ORDER by ordering

I have edited to state: Order by title

It lists the titles in alphabetical order, however, the links that are embedded into the title are still in the original order (by ordering) and therefore do not show the correct picture when clicked.

Can anyone tell me where I might find the place to edit so the links will be in sequence with the titles?

I do not want to set this in the configuration because in all other areas images will be sorted by their image id number.

Thanks
Logged
 
Print  Pages 1
« previous next »
Jump to: