If I have a hierarchical taxonomy, clicking on the top level menu items displays all the nodes in the system, rather than the nodes that are within the selected taxonomy. This seems to be common to all installations so I don't think it's me. I assume this behaviour is not intentional as it rather invalidates the point of using this module since it's confusing for uses to suddenly see everything.

Comments

Anonymous’s picture

Confirmed on my 4.3.0 version as well. I have a taxonomy vocab item called 'Image' when I click on it in the taxonomy menu, I see every item in the drupal, regardless of whether it is linked to the 'Image' taxonomy or not. If I select sub-terms of Image, they display the correct items.

Great Module other than that. It would be good to be able to run it in it's own block rather than as part of the user menu.

Michael

robognome’s picture

It appears that the node is showing all the article in the selected node AND any subnodes of that node. This will occur anywhere in the heirarchy.

While this make sense in priciple, in practice it becomes something of a nuisance with the menu because you get EVERYTHING in the taxonomy when you select the root node of the taxonomy to open it.

It would be nice to see an option to at least suppress items for the subnodes.

Anonymous’s picture

It appears that the node is showing all the article in the selected node AND any subnodes of that node. This will occur anywhere in the heirarchy.

No. In my example, I see all content in the node, some content not assigned to a taxonomy (Static pages), people's blog entries, it's not everything, but definately stuff that doesn't belong to the root node.

Probably it would not be a problem if it only showed nodes directly linked to that root node. eg:

Suppose a root taxonomy of 'Bob' with subterms of 'Home' and 'Work'

When I click on the taxonomy_menu term 'Bob', I would expect to see any nodes directly assigned to the 'Bob' taxonomy. I'd also expect to see a link in the main frame for the sub terms 'Home' and 'Work', but not the contents of those sub term nodes.

Hope this helps.

Michael

jonbob’s picture

Title: All items shown when top level taxonomy shown » All nodes are displayed when vocabulary name is selected
Assigned: Unassigned » jonbob

First I want to clear up some terminology. A "node" in Drupal is a story, forum post, or other piece of content. Taxonomy terms are not nodes, and there is no such construct as a "subnode." The taxonomy system defines a set of vocabularies, each of which consists of a collection of terms. A node is associated with zero or more terms; node types are associated with zero or more vocabularies. I'm renaming this issue to better reflect the terminology.

The designed behavior of this module is that selecting a term from the menu will display all nodes assigned to that term or any descendants of that term. The bug is that when a vocabulary is selected, all nodes are displayed regardless of whether their node types are associated with that vocabulary. I will try to address this module.

Not displaying nodes associated with descendants of a term is an option I'd entertain as a feature request, but is orthogonal to this issue.

niko’s picture

So, this is not a bug but feature? :-((

robognome’s picture

No. I believe JonBob said he would address the issue.

My previous post was incorrect in characterizing the bug as normal taxonomy behavior. JonBob just said that the behaviour I described in my post was indeed normal and not relevant to the bug.

jonbob’s picture

I've had some time to look into this, and the bug I thought might be there is not. I believe the behavior is as follows, as intended:

1) Selecting a vocabulary displays all nodes whose type is associated with that vocabulary.
2) Selecting a term displays all nodes that have that term or a subterm assigned.

This is the designed behavior. Rationale: Suppose I have a hierarchy such as:
- Literature
- - Essays
- - Poems
- - - Haiku
- - - Odes
- - Novels
When I select "Poems," I would expect to see all poems, not just the ones that are not haiku or odes.

Comment #1 submitted by Anonymous on December 3 seems to indicate that (1) above does not work as advertised, but I can't reproduce this.

I will open a related feature request to optionally not display subterms.

jonbob’s picture

The aforementioned feature request was opened and addressed.