By ubunTux on
Hello!
Been playing with Drupal 5.1 and felt more comfortable using Taxonomy and Terms for categorizing content (better than 4.7.5)... Hmnn.. One question is, why does the breadcrumb only display "Home" link instead of "Home > Category1" when viewing stories on a specific Category?
Is there anyway to fix that?
And by the way, I'm using the build-in Garland Theme... I'm not quite sure though if mentioning it makes this post sensible. :-)
.ubunTux
Comments
Get the Custom Breadcrumbs
Get the Custom Breadcrumbs Module, it will let you define how your breadcrumbs show up on those pages. Another good addition is the Path Auto Module which automatically names your categories, nodes, and users based on some settings.
You also might want to check out Taxonomy Breadcrumb Module.
Thanks WhatTheFawk! Used the
Thanks WhatTheFawk!
Used the Taxonomy Breadcrumb Module simplest and straightforward description. Suites me!
'Til next time...
.ubunTux
About Pathauto...
Is it search engine friendly?
.ubunTux
Yep thats actually what it's
Yep thats actually what it's for it improves SEO a lot and makes URL's way easier to understand in most cases.
For example lets say you have a content type 'Story' with the title 'Cheese Sales Spike In France' Drupal will store this as node/7.
Non-Savvy User: What the heck is a node? Why is that 7 there?! My brain hurts! :(
Non-Savvy User: Woohoo! I think I'll read this story about cheese sales in France. :) <- note the happy face
Path auto removes certain small words,special characters, and other words which you can define in a list, it also makes sure the url stays under a length defined in the admin panel, the good thing about path auto is you have full control over how the path is laid out so it goes well with either of the two breadcrumb modules.
The default path_auto setting for a node is [title] so for the article above you'd get yoursite.com/cheese-sales-spike-france
But we also want the type of node it is in there 'story' so people understand it's a story about something, so put in [type]/[title] which outputs yoursite.com/story/cheese-sales-spike-france
You can also use static names like stories/[title] which gets yoursite.com/stories/cheese-sales-spike-france
Also you can set all this on a per-node, per-category basis so you can still use the original setup if you want on certain node types. Just make sure to use the 1.x-dev version I think the 1.0 release has a bug on [catpath] in nodes. I can't seem to get [catpath]/[title] to work on the Forum topic node, it just shows [title].
Custom breadcrumbs lets you pretty much force breadcrumbs on node types, then customize the link and title. For instance (theoretically) if you looked at a flash video on my site, I wanted the breadcrumb to be "Home > Flash Videos" but it was just "Home", with custom_breadcrumb I was able to tell all flash nodes that their breadcrumb should add "Flash Videos" to the end and it should link to the page "/flash". I could have used Taxonomy_Breadcrumb which I think would add "Flash Videos" with a link to a page that displays all nodes of that type. But with custom I can change the Flash Videos breadcrumb title to be whatever I want instead of always the node type. I can also direct where the link will go instead of having it default to show all the nodes of that type.