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: Modify Lastup  (Read 3549 times)

0 Members and 1 Guest are viewing this topic.

V6

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Modify Lastup
« on: March 18, 2005, 05:18:28 pm »

Hi.

I just want to know hwo I can modify the file "thumbnails.php"

- to show ONLY the 5 last upload or the 10 last's....

or

- to show ONLY the ultim upload added...

Thankx  ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Modify Lastup
« Reply #1 on: March 18, 2005, 06:08:58 pm »

No need to modify a file, just do as suggested in http://coppermine.sourceforge.net/manual.php#changing : change
Quote
xxx/lastup,2
to
Quote
xxx/lastup,1
::)

Joachim
Logged

V6

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Modify Lastup
« Reply #2 on: March 18, 2005, 06:50:33 pm »

heu....no....

the problem it's that I have deleted the "lastup" in the Main Page  :-\\

I want to edit this in the page : http://www.xxxx.fr/cpg/thumbnails.php?album=lastup

 ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Modify Lastup
« Reply #3 on: March 19, 2005, 08:06:39 am »

the lastup meta album doesn't behave differently than all other "regular" thumbnail pages: the settings you make in coppermine's config ("Number of columns on thumbnail page" and "Number of rows on thumbnail page") are taken into account for it as well. To make them behave differently, you'd have to change coppermine's core code (not sure which section, haven't looked into this).

Joachim
Logged

V6

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Modify Lastup
« Reply #4 on: March 19, 2005, 08:16:39 am »

ok. :-\\

thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.