Download & Extend

List all of the nodes under each taxonomy term and its subterms?

Project:SiteMenu
Version:5.x-1.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

How to list all of the nodes under each taxonomy term and its subterms?

For example for a site menu:

Education(10)
Languages(7)

When visitors just click the Education link, only 3 nodes will be listed without that 7 nodes under its subterm Languages.

But I expect to list all of the 10 nodes, including the nodes under its subterm Languages. Because the number 10 of the nodes for Education should include 7 nodes for Education/Languages and other 3 nodes for Education. Any solution to make this possible ? Thanks!

Comments

#1

Version:4.7.x-1.x-dev» 5.x-1.0
Component:Miscellaneous» User interface

I am seeing the same thing in version 5.x-1.0.
Is there a workaround to this?
I'd just like a way to list out all the terms instead of getting htem 3 at a time. It almost seems like this is controlled from somewhere other than sitemenu.
Any leads that might help?

#2

just replace the

    if ($term->depth < $tree[$m+1]->depth) {
      $output .= "<li class=\"expanded\">". $link ."\n";
    }

with this:
    if ($term->depth < $tree[$m+1]->depth) {
      $output .= "<li class=\"expanded\">". $term->name.$count ."\n";
    }

in the modules/sitemenu.module file

#3

Assigned to:astra» Anonymous
Status:active» fixed

A solution is to use the module: Taxonomy Force All

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here