forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: usererr0r on March 01, 2005, 02:19:16 am

Title: breadcrumb in template.html
Post by: usererr0r on March 01, 2005, 02:19:16 am
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?
Title: Re: breadcrumb in template.html
Post by: Joachim Müller on March 01, 2005, 08:26:11 am
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
Title: Re: breadcrumb in template.html
Post by: usererr0r on March 01, 2005, 12:41:36 pm
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?
Title: Re: breadcrumb in template.html
Post by: Joachim Müller on March 02, 2005, 08:16:16 am
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