Home ›
Customize breadcrumbs (for node_gallery module, using custom_breadcrumbs module)Customize breadcrumbs (for node_gallery module, using custom_breadcrumbs module)
Submitted by Benjamin Melançon on December 27, 2009 - 6:10am
Searched words:
node gallery do not list user
Here is how i customized the breadcrumbs for galleries to remove the username, building on the documentation at http://drupal.org/node/544748#breadcrumbs and contributing back to that page what you see below:
Custom Breadcrumbs
Control Node Gallery breadcrumbs easily with the Custom Breadcrumbs module (and, recommended, Token module). A common reason to do this is because you do not want the gallery creator's username to display in the breadcrumb path. Here is an example; change the values to suit your needs.
- Enable the Custom Breadcrumbs and Token modules.
- Goto: Administer > Site building > Custom breadcrumbs (admin/build/custom_breadcrumbs)
- Add a new custom breadcrumb (admin/build/custom_breadcrumbs/add)
- Select Node type: Gallery
- Leave Breadcrumb visibility blank.
- Enter Titles:
Galleries - Enter Paths:
galleries - Submit.
- Again Add a new custom breadcrumb (admin/build/custom_breadcrumbs/add)
- Select Node type: Gallery Image
- Enter Titles:
Galleries
[parent-node-gallery-title-raw] - Enter Paths:
galleries
[parent-node-gallery-path] - Submit.
More like this
- Using Drush to list your modules and their statuses: drush sm (for show modules)
- Having the top-level menu items not be links (for use with dropdown menus)
- Find a term ID (working around the category module) to have a node behave differently
- Agaric move site from test to production (for first time) steps
- Custom nodes module AND CCK: Bdragon serves you cake and lets you have it, too


Comments
Post new comment