top menu, replace {LASTUP_TGT} with latest albums top menu, replace {LASTUP_TGT} with latest albums
 

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]

Main Menu

top menu, replace {LASTUP_TGT} with latest albums

Started by lordprodigy, January 28, 2005, 08:10:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lordprodigy

hello, I would like to replace the {LASTUP_TGT} with the albums instead of the files itself. I tried replacing it with the {LASTALB_TGT} but didnt work. Any ideas? I would also like to add few more links that would open pages with 'random', 'lasthits', 'lastalb', as oppose to having them in rows in the index file. Just like the way its done with 'lastup' and 'toprated', etc.

thanks in advance!

lordprodigy


Joachim Müller

#2
you can not just remove/replace the placeholder tokens (the stuff in curly braces) in theme.php and hope it works (just wishfull thinking). You will have to look at the place where the placeholder tokens are actually filled with content and change the code accordingly.

Joachim

lordprodigy

Thank you Joachim,

Can you give me more detailed tips on how to do it. maybe an example...  I appreciate your time!

Joachim Müller

the lat updated albums only exist as meta albums, but not as dynamical links you could add, so you would have to write actual php code to accomplish this.

Joachim

lordprodigy

oh ok. Well I guess I can only suggest it as a feature request then. I think it would be cool to have the breadcrumbs also available as main links just like last uploads and most viewed. It is only a suggestion. thanks a lot Gau Gau.

Joachim Müller

"last updated" is not the same as "breadcrumbs" ;). However, I moved your thread from "CPG 1.3 Standalone Support" to "Feature requests" as suggested.

Joachim