Stupid question, I know. How do I activate breadcrumb trails?

HollywoodChicago.com - January 6, 2008 - 09:49

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?

Breadcrumb

kriskd - January 6, 2008 - 12:10

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; ?>

Where in the file?

HollywoodChicago.com - January 6, 2008 - 23:22

Where in the file should that code be?

page.tpl.php

kriskd - January 6, 2008 - 23:41

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

To have breadcrumbs show up,

bwv - January 6, 2008 - 12:30

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. / Я могу общаться на русском языке.

So...

HollywoodChicago.com - January 6, 2008 - 23:24

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

Did you select the content

bwv - January 7, 2008 - 00:27

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. / Я могу общаться на русском языке.

I'm still not figuring this out.

HollywoodChicago.com - January 28, 2008 - 20:31

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?

Any help?

HollywoodChicago.com - January 31, 2008 - 05:51

Any help here?

Anyone out there?

HollywoodChicago.com - March 7, 2008 - 05:39

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

This is one of the most

bwv - March 9, 2008 - 19:05

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 - March 9, 2008 - 19:07

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 : )

Finally!

HollywoodChicago.com - March 13, 2008 - 17:22

Finally got this working. Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.