Hello,
I was wondering how to modify coppermine 1.5.12 so the 'last additions' lists all the images uploaded in chronological order.
It would list 20 thumbnails per page and a page count at the bottom, like you see in http://www.usefilm.com/recent/ (http://www.usefilm.com/recent/) or http://www.photosig.com/go/photos (http://www.photosig.com/go/photos).
Do I need to modify the coppermine code or is this feature available and I am just not noticing it?
Thanks!
Quote from: guygar on April 06, 2011, 01:36:16 PM
modify coppermine 1.5.12 so the 'last additions' lists all the images uploaded in chronological order.
That's how the 'lastup' meta album works, so you don't have to modify anything. Please post a link to your gallery if you need further support.
sorry i forgot to include my site address: www.coppermine.guygar.com (http://www.coppermine.guygar.com)
thank you for your response but it is not working that way! ???
It shows the most recent 8 thumbnails on the main page but has no means of advancing through the full image listing.
Hope I am being clear, please advise.
Thanks.
You have to use this link: http://www.coppermine.guygar.com/thumbnails.php?album=lastup
how many thumbnails will be shown per page using this please?
As much as you've set in the config. The settings for 'regular' albums also apply to meta albums like 'lastup'.
That works! Thank you :)
But going back to the original issue (I am a bit confused)... How do I enable such behaviour on the main page (homepage).
i.e. instead of static 12 thumbnails .. implement 'last uploads' instead?
Thank you again.
Ok I got it! ;D
Just changed the homepage url on the general settings!
Thank you so much!
Additionally, you should add a rewrite rule like
RewriteEngine on
RewriteBase /
RewriteRule ^$ thumbnails.php?album=lastup [NC]
so first time visitors will see the same page.
Thank you, you are so right! I have failed.
Please advise how to rewrite this rule please?
Quote from: guygar on April 06, 2011, 02:15:13 PM
Please advise how to rewrite this rule please?
It should work as is. If you're unfamiliar with rewrite rules, please use Google to get more information.
Thank you for not telling all.
I created a .htaccess file in the coppermine root and it seems to work. :)