This module allows you to create and modify breadcrumbs based on node type.
Create and edit custom breadcrumbs from the Custom Breadcrumb Administration Page. Select the node type the breadcrumb will apply to. There are two text fields below-- Titles and Paths. When creating a breadcrumb, you are simply creating a link. In the custom breadcrumbs interface Titles describes the text of the breadcrumb while Paths describes the Drupal path the breadcrumb links to. Each Title must have a corresponding Path.Ejemplos
To give a very simple example of how to use this module, let's say I have a blog on my web site called 'Deep Thoughts.' To create this, I use the Views module to create a page at /blog that displays all the node types 'blog post.' Whenever a user views a blog post I want the breadcrumb to show Home > Deep Thoughts instead of simply Home. To do this I would simply type 'Deep Thoughts' in the 'Titles' field and and 'blog' in the 'Paths' field and save my breadcrumb.
Using tokens, the Custom breadcrumbs module becomes much more flexible because breadcrumbs can become dynamic. You can create a breadcrumb like Home > Deep Thoughts > [Month of Blog Post] [Year of Blog Post], where 'Deep Thoughts' links to my main blog page and '[Month of Blog Post] [Year of Blog Post]' links to a view that shows only blog posts from the month and year the blog post was created (e.g. June 2007). For this, you would do the following:
(where of course, blog/[node:created:custom:m_Y] is the path to the view of blog posts from that month and year). So if you created a blog post on June 13, 2007 your breadcrumb would show Home > Deep Thoughts > June 2007 and 'June 2007' links to 'blog/06_2007' which is a view of all blog posts from June 2007.
Also, note that Custom Breadcrumbs doesn't actually check to be sure that a particular path exists, so you'll have to check yourself to avoid 404 errors.
Only users with 'administer custom breadcrumbs' permission will be allowed to create or modify custom breadcrumbs.Breadcrumb Visibility
Users given 'use php in custom breadcrumbs' permission can include php code snippet that returns TRUE or FALSE to control whether or not the breadcrumb is displayed. Note that this code has access to the $node variable, and can check its type or any other property.Special Identifiers
Special identifiers are provided to achieve a special behavior:
The following identifiers can be used to achieve a special behavior. Identifiers should be added to the paths area in the following format: identifier|path.
For example: <pathauto>|[ogname-raw]
|No special identifiers have been defined. You must enable the custom breadcrumbs identifiers module or another module that implements hook_cb_identifier_list and hook_cb_identifier_values to enable this feature.|