Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Drupal taxonomy menu example

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,607
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 8, 2010

Check out http://www.wardnet.com for more tutorials. Using Drupal taxonomy_menu to create a category sub-category menu hierarchy similar to the section category setup in Joomla or the folder sub-folder setup in eZ Publish. Uses the modules taxonomy_menu taxonomy_breadcrumb views pathauto and token.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (wardjame)

  • A very kicking video, @wardjame... A good lesson for me. Would you care to expand the tutorial by how to establish a page that lists teasers of subcats when we click on the cat1? Does it have to involve tpl coding or can be done with Views? (D7/V3)

  • @melodytubular I haven't had a chance to redo this on D7 yet but the process should be the same. The addition of depth to the Taxonomy view should show titles and teasers for all sub-category content.

  • So, what if you want to enable vocabulary name to be part of the taxonomy menu and taxonomy breadcrumb?

  • @danielmk83 to enable vocabulary name to be part of the taxonomy menu just don't uncheck "Add item for vocabulary" (at about 1:23 in the vid). I'm pretty sure the taxonomy_breadcrumb module will just pick up that change automatically.

  • @wardjame Nope. Just the taxonomy_menu module add's it automatically, but that's not the case with taxonomy_breadcrumb and pathauto.

  • @danielmk83 OK, so per the documentation for taxonomy_breadcrumb, to show a vocabulary name in the path you need to define a page for the vocabulary. You can do that by editing the vocabulary and enter a value under "Breadcrumb path". For pathauto you would need to leave [vocab-raw] in the default taxonomy path to include the vocabulary name so it would look like [vocab-raw]/[catpath-raw]. You will need to delete and regenerate all the aliases for that to take effect.

see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • As @halgankanet said, this is the first place I've seen an actual explanation of how to use taxonomy for anything useful, or how to create menus that actually do what I want... and it turns out that the two questions answer each other!

    Drupal seems to have an incredibly steep learning curve, but @wardjame has carved a nifty staircase into it! Thank you, sir!

  • exelemt tuto nice

    

  • Thank you, no one ever explained the taxonomy depth thing anywhere before.

    You have basically saved my life.

    Thank you again

  • Very useful video.

    Thank you.

  • Hi there!

    I'm trying to learn drupal, so i followed your tut.

    When I enable "Taxonomy_term", and I go to edit, and I do exactly what you do.. then I go to Cat1 and it doesn't show the content of subcat1 and subcat2.

    I tried a few times with no success, is hard to you knowing if i do something wrong, but i'll give a shot, Am I doing something wrong?

  • @wardjame Pathauto module aliases only the terms path (taxonomy/term/1 etc.) and not the vocabulary path (taxonomy/term/1 2...). I suppose I should add the alias manually for the vocabulary path and then add it to the Brandcrumb path.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more