News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

sort the album list

Started by evok, May 01, 2005, 10:06:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

evok

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


evok

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 '. ?

Nibbler

You want to change the occurence of

' ORDER BY a.pos '.

that appears in the function list_albums(), so that it reads

ORDER BY a.aid DESC