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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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