User login

Customize breadcrumbs (for node_gallery module, using custom_breadcrumbs module)

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.

  1. Enable the Custom Breadcrumbs and Token modules.
  2. Goto: Administer > Site building > Custom breadcrumbs (admin/build/custom_breadcrumbs)
  3. Add a new custom breadcrumb (admin/build/custom_breadcrumbs/add)
  4. Select Node type: Gallery
  5. Leave Breadcrumb visibility blank.
  6. Enter Titles:
    Galleries
  7. Enter Paths:
    galleries
  8. Submit.
  9. Again Add a new custom breadcrumb (admin/build/custom_breadcrumbs/add)
  10. Select Node type: Gallery Image
  11. Enter Titles:
    Galleries
    [parent-node-gallery-title-raw]
  12. Enter Paths:
    galleries
    [parent-node-gallery-path]
  13. Submit.
Searched words: 
node gallery do not list user

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.