By sylvie_n on
Hi there,
I have used the code from http://drupal.org/node/266165, to print off a category list, with node count.
I have a parent term, with a child (child term1), which also has a child (child term2)
I would like to print the first parent term and the first child term, but not the child of the child.
I.e., I would like to print
-Parent (x)
- Child1 (x)
However, at the moment, the code printing:
-
- Child1(x)
- Child2 (x)
There is a bullet point above child1, which i think may be supposed to be for the parent term, but the parent term isn't printing.
How do I dicatate that only a certain depth of terms is printed? (i.e. not child2)
Many thanks!