Is there a way to show the last (10 or 12) albums instead of all the thumbnails (last uploads)?
Sorry, if there is already an answer for my question in this board, but I didn´t find it. Can anybody help?
Quote from: JorgoB on February 11, 2005, 09:09:23 AM
Is there a way to show the last (10 or 12) albums instead of all the thumbnails (last uploads)?
Sorry, if there is already an answer for my question in this board, but I didn´t find it. Can anybody help?
yep, replace 'lastup,2' with 'lastalb,3'.
Thanks for your fast reply, but where have I to change it? I´m a newbie.
http://coppermine.sourceforge.net/faq.php#NoLastUploads
That´s not what i mean. I don´t want to show the last albums on the index, I want them to show in the same way if I click the button "Last Upload"
The link I posted gives instructions for it all. The question is just an example.
If you mean something else, please post a link to your gallery and point out specifics.
So you want a link in the menu.
This is based on the classic theme, you may have to adjust to give the correct formatting for other themes.
Open theme.php, and find;
<a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
Add in new line;
<a href="{LASTALB_TGT}">{LASTALB_LNK}</a> ::
Find;
'{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
Add in new lines, after it;
'{LASTALB_TGT}' => "thumbnails.php?album=lastalb$cat_l2",
'{LASTALB_LNK}' => $lang_main_menu['lastalb_lnk'],