Advanced search  

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]

Pages: [1]   Go Down

Author Topic: breadcrumb in template.html  (Read 2966 times)

0 Members and 1 Guest are viewing this topic.

usererr0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
breadcrumb in template.html
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: breadcrumb in template.html
« Reply #1 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
Logged

usererr0r

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: breadcrumb in template.html
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: breadcrumb in template.html
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.