breadcrumb in template.html breadcrumb in template.html
 

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

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