Closed (fixed)
Project:
Framework
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 18:48 UTC
Updated:
18 Jun 2008 at 20:06 UTC
Hello!
Your breadcrumbs feature is GREAT but I am trying to figure out how to configure it so that my site knows to have breadcrumbs throughout the site. Right now it only works for admin section but it does not appear in the main site (Primary links). Is there something I need to do to activate it? Right now it only shows "Home" on EVERY page...
let me know! thank you so much!
Comments
Comment #1
andregriffin commentedIt seems your content is not hierarchical in more than one level. The breadcrumb only links back to home because all your primary sections have no parent page in themselves, thus only display a link to the global parent (home).
If you wish to display the current page in the breadcrumb trail, you need to replace the breadcrumb function in template.php in the Framework theme directory.
Find the function that looks like the following, and replace it with this: (note there is only two lines difference, the php function, and the comment explaining it)
Uncomment (remove the "//") from the
$breadcrumb[] = drupal_get_title();line as it says, and that should fix your breadcrumb issue.---Also---
I just remembered that this function was only really needed for Drupal 5.
The following module for Drupal 6 should do the same thing, and give you a few more options.
http://drupal.org/project/menu_breadcrumb
Comment #2
shali.nguyen commented"It seems your content is not hierarchical in more than one level. The breadcrumb only links back to home because all your primary sections have no parent page in themselves, thus only display a link to the global parent (home)."
All of my sub pages are placed in menu to a parent page. I do have parent/child pages... not sure why this doesn't work. Do I need to do something extra other than placing them in parent/child order in the Menus to get this to work?
Thanks!
Comment #3
andregriffin commentedI'm not sure why this would be. Did you try either of the methods I explained?
Try installing this module.
http://drupal.org/project/menu_breadcrumb
If your sections are based on categories/taxonomy, try installing a module called Taxonomy Breadcrumb
Comment #4
shali.nguyen commentedgot it to work! thanks so much!
Comment #5
andregriffin commentedComment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.