I am looking for someone to help me out with a taxonomy question that has been posed many times on Drupal.org (based on the search results I've found.) I'm not comfortable playing around with the database, but I'd be willing to compensate somebody who can do this for me or walk me through it, step by step.

I have 6 categories, or topics, if you will, and each has its own subtopics. (I'm strictly using the default taxonomy module.) So for example, I have:

Vocab #1 - Industry&General
Term #1 - Advertising&Marketing
Term #2 - People
Term #3 - Rumors

Vocab #2 - Photos
Term #1 - Concept Cars
Term #2 - Photoshoots
Term #3 - Spy Photos

Currently, if you click on the path to any of the top level vocabulary paths (Industry & General, Photos, etc) you get "page not found." I'd like to be able to have that path lead to a page that contains all nodes tagged with any of the terms, or subtopics. If it matters any, I don't have it set up where top level vocabs share any terms - all the terms are unique to the vocab. So for example, if I click on the path to "Photos," the page should return all nodes categorized by users as either concept cars, photoshoots, and spy photos.

I had been in contact with a very helpful Drupaller, but haven't heard any response lately, and need to move forward, which is why I'm now offering to pay anybody who can help me out.

I was advised to: "collect the terms into one structured vocab. The UI doesn't provide an easy way to move terms between different vocabs, so I'd do it directly in the database myself, to avoid deleting and re-creating them, which would destroy any tagging you've already done. "UPDATE term_data SET vid = 1 WHERE vid=2 OR vid=3 OR vid=4;" (or something similar)"

- "For each high-level term, create an url alias (eg where '3' is the
term ID for 'photos')
system path : taxonomy/term/3/2
alias : photos"

As I mentioned, I'm not confident enough to try this myself, let alone any other proposed solution. Many posts on Drupal make it sound easy enough, but I must be doing something wrong because I haven't been able to solve this myself yet.

If this is something you can do or if you know of another method that will acheive the end result I desire, please contact me. Thanks for reading!

Comments

tostinni’s picture

Hi,
Have you tried to use the taxonomy_menu module ?
I used it in the past and it provides you a menu which allow to display all post belonging to terms and subterms. I remember it also provided a vocab link to allow this for the whole vocab.

I think also http://drupal.org/project/taxonomy_context does the job contact me if you want some more help.

Regards

pwolanin’s picture

Are you using the path module?

This is not hard if you have a fixed set of terms- here's how:

assume your terms have the following:

Term #1 - Concept Cars -> tid 5
Term #2 - Photoshoots -> tid 6
Term #3 - Spy Photos -> tid 7

so, to just show "Concept Cars" you go to path /taxonomy/term/5

to get all three go to path taxonomy/term/5+6+7

see, for example: http://drupal.org/taxonomy/term/77+76

this shows all posts with the term "User management" OR "Drupal 5.x"

So, now just go to the path module interface and alias 'photos' to 'taxonomy/term/5+6+7'

Note, however, that this is going to give you long page titles (all the terms listed).

---
Work: BioRAFT

David N’s picture

Thanks pwolanin; that is the functionality I'm looking for, but I need to be able to do that without having every single term's title included in the page title. Some of my vocabs have quite a few terms, and it wouldn't look right.

---
David N
http://www.autoconcourse.com (coming soon)

pwolanin’s picture

Well, in that case you'll need a contrib or custom module.

Have you tried http://drupal.org/project/taxonomy_menu as suggested above?

---
Work: BioRAFT

David N’s picture

Thank you to all who posted, particularly tostinni, about the taxonomy menu module. That did the trick. I only used the module to get the URL that returned a page of categorized with all the terms in a particular vocab. It was a bit tricky since I'm using the DHTML menu module at the same time, but I managed to get things working correctly.

---
David N
http://www.autoconcourse.com (coming soon)

pwolanin’s picture

If you still have $50 burning a hole in your pocket, please consider a donation to support the infrastructure:

http://drupal.org/node/77562

http://association.drupal.org/donate

---
Work: BioRAFT