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
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.
Searched words:
node gallery do not list user
Comments
Post new comment