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: [Solved]: How to set the last upload album to be on the top of the group?  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

herman430

  • Coppermine newbie
  • Offline Offline
  • Posts: 3

How to set the last upload album to be on the top of the group?

let say here's my album:
http://www.hermanchan.org/webGallery/index.php?cat=17&page=3

you may find that the date is not in right order
the last gallery "2008_02_23" should be in page 1 first row, but not now in page 3 (last page)

where can I change that setting?
I'm using cpg1.4.16, thx~!
« Last Edit: March 10, 2008, 03:19:04 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: How to set the last upload album to be on the top of the group?
« Reply #1 on: March 08, 2008, 03:57:11 pm »

Either use a custom sort order (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#sortAlbum) or modify index.php, changing

Code: [Select]
ORDER BY a.pos
to

Code: [Select]
ORDER BY a.aid DESC
Logged

herman430

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to set the last upload album to be on the top of the group?
« Reply #2 on: March 10, 2008, 12:26:21 pm »

thx, it's fixed. ;)


besides, I don't know how to show view count.
even I set "Display number of views below the thumbnail" to YES in Control Panel.

there are no number of views under those thumbnails.
http://www.hermanchan.org/webGallery/thumbnails.php?album=257

thx~
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to set the last upload album to be on the top of the group?
« Reply #3 on: March 10, 2008, 03:18:52 pm »

We have a strict "One question per thread" policy that you agreed to respect when signing up. Your initial question got solved (not fixed, but solved). Marking thread accordingly and locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.