Drupal taxonomy menu example
Uploader Comments (wardjame)
All Comments (12)
-
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.
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 7 months ago
@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.
wardjame 7 months ago
So, what if you want to enable vocabulary name to be part of the taxonomy menu and taxonomy breadcrumb?
danielmk83 1 year ago
@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 1 year ago
@wardjame Nope. Just the taxonomy_menu module add's it automatically, but that's not the case with taxonomy_breadcrumb and pathauto.
danielmk83 1 year ago
@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.
wardjame 1 year ago