Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: sort the album list  (Read 2418 times)

0 Members and 1 Guest are viewing this topic.

evok

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
sort the album list
« on: May 01, 2005, 10:06:47 pm »

hey.. how can i sort the album list on the startpage- that the last uploaded album is displayed first? or is it not possible?
Logged

Nibbler

  • Guest
Re: sort the album list
« Reply #1 on: May 01, 2005, 10:21:47 pm »

Logged

evok

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: sort the album list
« Reply #2 on: May 01, 2005, 10:40:26 pm »

thanks for your reply.. but ive got a problem: the index.php includes two lines with ' ORDER BY a.DESC '. - and when i change them i get a databes error. do you know which line i have to change? and is this the right syntax: ' ORDER BY a.DESC '. ?
Logged

Nibbler

  • Guest
Re: sort the album list
« Reply #3 on: May 02, 2005, 07:04:15 pm »

You want to change the occurence of

Code: [Select]
' ORDER BY a.pos '.
that appears in the function list_albums(), so that it reads

Code: [Select]
ORDER BY a.aid DESC
Logged
Pages: [1]   Go Up
 

Page created in 0.137 seconds with 19 queries.