By Tim99 on
Hello,
I created a vocabulary "topic" like this
- Sport
-- Football
-- Tennis
-- Basketball
Music
-- Pop
-- Metal
-- Punk
...
I can assign those topics to blog entries. The more precise, the better. Let's say one tagges his entry with "Football". Then the entry should actually also be a "Sport"-entry, right? But when I click on the "Sport"-Tag, the entry is not included. Any ideas how to overcome this?
Comments
Are these links to taxonomy Terms?
By "click on Sport", are you talking about clicking to *set* the Term as you create the node? Or are you talking about later clicking on a menu item named Sport (which, I presume, is a link to all nodes tagged with the Term "Sport")?
If the question is about clicks on menu items, and if you're asking how to click on "Sport" and have it return all nodes tagged with "Football" but not necessarily tagged with "Sport", then the answer may be to create the link like this:
taxonomy/term/1/all
where "1" becomes whatever number applies to your Term "Sport", and "/all" on the end tells Drupal to pick up any nodes tagged with the sub-Terms under "Sport".
Does that address the question? (More on the same at http://www.drupalace.com/creating_links )
--------
A site by, of, and for the Drupal newbie: http://www.drupalace.com
Thank you for the answer. I
Thank you for the answer. I want to use the tagadelic module to create a tag cloud of taxonomy terms. Setting a node to "Football" should therefore implicitly tag the node with all parent terms of "Football" (--> Sport). Otherwise my tag cloud won't work:
a) Adding 10 Football related blog entries won't make the "Sport" tag bigger
b) Selecting "Sport" from the tag cloud won't get the Football blog entries.
So it's basically the first issue you mention.
Taxonomy Force All module
Best I can think of is the module Taxonomy Force All.
http://drupal.org/project/taxonomy_forceall
Supposedly, it'll add the "/all" function automatically. No idea whether it'll do so in conjunction w/ Tagadelic; if it did, maybe it'll do exactly what you want. Please give it a try and report back here!
--------
A site by, of, and for the Drupal newbie: http://www.drupalace.com
I haven't found a way to do
I haven't found a way to do this for Drupal 6 either...except for using Hierarchical Select, which is a huge, slow, awkward module.