This is a stupid question, I know, but I can't figure it out. How do I activate breadcrumb linking trails and control where they are seen?

Comments

kriskd’s picture

This is done in your page.tpl.php file. Here's the snippet:

      <?php if (!empty($breadcrumb)): ?>
        <div id="bread-crumb">
          <?php print $breadcrumb; ?>
        </div> <!-- /bread-crumb -->
      <?php endif; ?>
HollywoodChicago.com’s picture

Where in the file should that code be?

kriskd’s picture

Wherever you want the breadcrumb to show up. Probably at the top of your main content area. All depends on your theme.

bwv’s picture

To have breadcrumbs show up, you will need to create categories (taxonomy and terms) for the content you create.
----------------------------------------------------------------------
http://www.bwv810.com/

I am a writer and researcher. In my spare time I build websites with Drupal.
Je peux communiquer en français. / Я могу общаться на русском языке.

HollywoodChicago.com’s picture

So first you need the code (here) and then once you create taxonomy and terms (I've done that), then what?

bwv’s picture

Did you select the content type (page, image, story, forum topic, etc.) that you want to categorize? If so, create content and categorize it.
----------------------------------------------------------------------
http://www.bwv810.com/

I am a writer and researcher. In my spare time I build websites with Drupal.
Je peux communiquer en français. / Я могу общаться на русском языке.

HollywoodChicago.com’s picture

For starters, I want breadcrumb trails atop my discussion forums here: http://www.hollywoodchicago.com/discussion

I don't yet have the breadcrumb code in my page.tpl.php file because I don't know where in the file to put it. I just want the breadcrumb trail to appear atop all the forum pages. Any help?

HollywoodChicago.com’s picture

Any help here?

HollywoodChicago.com’s picture

Anyone out there? I still don't have a clear answer to get this feature working. Help would be very appreciated!

bwv’s picture

This is one of the most misunderstood aspects of drupal, from what I can tell. I'd suggest getting a module that allows you to customize your own breadcrumbs. This search also brought up some good links:

http://www.google.com/search?hl=en&q=breadcrumbs+drupal&btnG=Google+Search

----------------------------------------------------------------------
http://www.bwv810.com/

I am a writer and researcher. In my spare time I build websites with Drupal.
Je peux communiquer en français. / Я могу общаться на русском языке.

vm’s picture

I don't yet have the breadcrumb code in my page.tpl.php file because I don't know where in the file to put it.

check a default theme for the code, and mimic the usage.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

HollywoodChicago.com’s picture

Finally got this working. Thanks!