Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
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
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: Ordering by Title (Read 1953 times)
«
on:
October 28, 2007, 05:21:01 pm »
shandog
Newbie
Posts: 6
Ordering by Title
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
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...