Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: sort the album list  (Read 2999 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.015 seconds with 20 queries.