Advanced search  

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

Pages: [1]   Go Down

Author Topic: breadcrumb in template.html  (Read 3456 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: 47843
  • 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: 47843
  • 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.017 seconds with 20 queries.