i'm hoping there is a quick answer to my question but assuming it will be pretty involved. i've checked the forums and documentation and not found any answers. thanks in advance for any help...

i would like to find a way to forward requests from a taxonomy term to the latest node in the lightest weight of its subterms. following is how i have my taxonomy set up and some more info on what i hope to accomplish.

vocabulary
-client
--project1
--project2
--project3
--project4

if the term 'client' has a term id of 3 and the user goes to 'http://www.example.com/taxonomy/term/3' i would like the first node in 'project1' (or whatever has the lightest weight) to display. is this possible?

currently i am using the taxonomy_context module and any visitors to the 'client' term page sees a list of the subterms and their descriptions.

thanks again for any help. i do appreciate it.

Comments

wpd’s picture

I do not think it works that way (unfortunately). As far as, I can tell children in taxonomy only affects the display of the taxonomy tree.
You could make your url like this:
'http://www.example.com/taxonomy/term/3+4+5+6'
assuming 4,5,6 are project1, project2, etc..., but that is a temporary solution at best.
You probably want the views module:
http://drupal.org/project/views

White Paper Designs

masande’s picture

i guess i have no problem with customizing what is displayed on the taxonomy term page if it isn't possible to do a redirect. i have downloaded the views module and am finding the documentation a little cryptic.

in the documentation it says that i can re-sort the info displayed on the taxonomy term page. do you know if it is possible to only show the most recent node from one of the term's children?

thanks again for your help and answer.

Mark Sanders
Q Collective

wpd’s picture

Create a new view.
Under the Page options.
Check: Provide Page View
Uncheck: use Pager
Nodes per page = 1

This should create a list of just one item. Change the sort criteria and filters to get what you want. (I am not a views experts, so ymmv ;))

Scott
White Paper Designs

masande’s picture

thanks scott. i will give this a try. my only concern is that i may have to create a view for every term in taxonomy. that's not too terribly desirable since i will likely be adding new terms a lot; and with that i guess new views. or have i got that confused?

i also found the redirect module but that only allows redirects at the vocabulary level, not term.

Mark Sanders
Q Collective

wpd’s picture

I know you can do it by creating many views, but there maybe (probably is) a better way. Look at the 'arguement' portion of creating a view. I think that will help. You might also post for help on the view project. People that follow the views will know more than me on the details.

White Paper Designs