Tree view in block - parent categories do not show results
bsnodgrass - June 19, 2009 - 22:07
| Project: | Vocabulary Index |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I am using the tree view in a block for one of my vocabularies. It has a parent and child hierarchy structure. The child categories show a list of nodes the parent categories do not.
Also is there any way to identify a view which would be used instead of the typical node listing? I am trying to recreate something similar to http://www.vyapar.com/cgi-bin/itbrowse.cgi?temp=ok&categoryid=01&mode=pr... any suggestions?
Thanks,

#1
I'm not quite sure what it is you want. I think disabling the JS file through your theme will suffice. Information on that can be found in the theming handbook here at drupal.org.
Can you please report back if that worked or to post more information if that doesn't do what you want?
#2
I have the same problem, so let me try to explain.
Clicking on a parent term in the menu, toggles the display of its children in the menu. However, nothing else happens. The parent term's page (ie http://www.example.com/category/the-parent-term) is not loaded. Therefore, the menu doesn't work to access the list of nodes tagged with a parent term, only lists of nodes for leaf terms can be accessed using the menu.
I do not know if this is intentional, or a bug. I assume intentional, since the page tree view works the same way. For the block though, it would be nice to both display the children in the block, and go to parent term's list of nodes. Or, better yet, for both page and block trees: click on the image of arrow or plus sign or whatever, toggles the menu, click on the parent term to display its list of nodes.
#3
Marking this as a duplicate of #577994: Go to term page when clicking a parent term in tree view.