breadcrumb in template.html breadcrumb in template.html
 

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

breadcrumb in template.html

Started by usererr0r, March 01, 2005, 02:19:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

usererr0r

Is there any way to have the breadcrumb in the template.html? The only result I can get is just the text {BREADCRUMB} printed out.
The way I'm attempting to make my theme requires that the breadcrumb be in the middle of the {ADMIN_MENU}, {MAIN_MENU}, and the other tags on template.html (outside of {GALLERY}).
If it's not possible to directly have it there, can it be done with a custom header/footer or with any other workaround?

Joachim Müller

the stuff in curly braces in template.html are just placeholder tokens that get filled with content from theme.php, so if you need a {BREADCRUMB} token in it, you need to create the necessary code in theme.php, which is not that easy.

Joachim

usererr0r

Is there a guide that gives hints as to how to do that somewhere around the site/forums, or am I better off finding another way to show the breadcrumb?

Joachim Müller

better use the "regular" method by displaying it at the top of your gallery section (where users expect it to be) - read up the documentation that comes with coppermine, section "content of the main page". All other methods need PHP knowledge.

Joachim