Drupal 4.7.2
I'm not sure if this is something you can fix, or if it is just something we have to live with - based on Drupals structure.
I generally don't use Related Terms, but on this site it would be very useful. I'll show you what I'm trying to do - before I explain the end result.
I have set-up a Vocab called Locations (this will carry over into international)
Under locations I have a Primary Term called United States (selected to use Related Terms)
Under the United States - I have Related Terms such as North Carolina, Tennessee and such - with the United States being the Parent
when entering data into a Flexnode created Node and using Free Tagging - I have two options
a) I can enter the Catagory as "United States, Tennessee"
or
b) I can enter Catagory as "Tennessee"
The issues:
option (a) this will give Two Node Catagory Links - one for United States and one for Tennessee. However, Site Map will see two United States Catagories - one for the Related Terms Parent and one for the seperate United States Catagory (and rightly so probably) but it counts the United States twice - once as the Parent and once as a proper Catagory
Site Map (display for option a)
United States (2)
- Tennesse (1)
option (b) I will only get one Node Tax link for Tennessee, does not show the Related Terms Parent as a Catagory Link option. However, Site Map does see the Parent and returns a very nice display to the realtionship - such as
United States (1)
- Tennessee (1)
However with option (b) United States, though it displays a (count) a 'No Page is found" comes back when clicking the United States Link
and then again, maybe there is a better way to use my tools.
Please advise,
Comments
Comment #1
frjo commentedThe counting of nodes for a term is done by the function taxonomy_term_count_nodes() from taxonomy.module. I always try to use core drupal functions when possible.
I have just committed a new version of the module. Download it and set "Categories depth" to "all". That should at least avoid the "No Page is found" problem.
With "Categories depth" set to "all" a term page will show all the nodes that belong to that term plus all nodes that belong to any child terms.
It will take a few hours for the *.tar.gz to be rebuilt but you can download directly from cvs.
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/si...
Comment #2
green monkey commentedThank you so very much. This module is really great.
It adds a polished and professional feel to the site.
Thank you so much for creating it and all your ongoing attention to supporting it.
Also thanks for the CVS link - I get so confused searching around and poking around in CVS.
Best regards and big thanks!
Comment #3
green monkey commentedThat did it! :-))
I'm using SpreadfireFox theme for this site - Site Map looks very very cool with theme.
The Catagory Structure looks great too, with a Related Parent Child relationship :-)
thanks again,
Comment #4
frjo commentedComment #5
(not verified) commented