Bamboozled by Taxonomy despite reading dozens of pages!
rockgeek - April 6, 2007 - 18:21
Right,
I moved away from Wordpress to something more powerful. I believe I made the right decision with Drupal! I run a festival website and with Taxonomy being thrown about everywhere as the best thing since sli..... ok, I'll get to the point.
Which is the best way to set it up?
Reading Festival 2007*
- Tickets
- Rumours
- Lineup
Reading Festival 2006*
- Tickets
- Rumours
- Lineup
OR
Tickets*
- Reading Festival 2007
- Reading Festival 2006
Rumours*
- Reading Festival 2007
- Reading Festival 2006
Lineup*
- Reading Festival 2007
- Reading Festival 2006
Anyway. I understand how to create the top level names (*). When I make the terms under it - that's where I come confused.
- I want to add a vocabulary as in the first list called: "Reading Festival 2007"
- Fill in everything and select: Hierarchy-->Multiple, Related, Multiple Select (this correct?)
- I then add terms: Tickets, Rumours, Lineup. I just enter: Term Name and Description (this correct?)
- I then want to add another vocabulary called: "Reading Festival 2006"
- Do I then have to do point (3) again for this new vocabulary? If not - why not and what do I have to do?
- I presume the same principle applies if I do it for the 2nd listing also?

For what you described, the
For what you described, the answer to (5) is "yes".
However, I would like to suggest that you not build your site this way. Based on the information in your post, it sounds like pages would be classified in one of Tickets, Rumours, or Lineup, and also in one of 2007 or 2006. To me, this sounds like you need two vocabularies: Years and ... hmm... "Topic" I suppose. The Years vocabulary would have the terms "Reading Festival 2006" and "2007". The "other" vocabulary contains the terms "Tickets", "Rumours", and "Lineup". When set up this way, whenever you create nodes, you can select one term (or more if that makes sense for your site) from each vocabulary. This keeps you from having multiple, identical terms, and it's possible to find all the nodes that are related to a term in one place. Whatever modules you're using should be able to deal with the intersection of the two vocabularies so that you get only Tickets pages for 2006 at a time, and no other ones.
If, for whatever reason, you decide you have to choose one of the options you listed, I vote for the first one, because it seems like there would be more separation between years than between tickets, rumors, and lineups.
-----
Übercart -- One cart to rule them all.
Cool
I have done this (I think!)
FESTIVALS
-Reading Festival 2007
-- Tickets
-- Rumours
-- Lineup
-Reading Festival 2006
-- Tickets
-- Rumours
-- Lineup
Seems to be working as I wanted it.
Thanks!
Hi Island Usurper, Your
Hi Island Usurper,
Your suggestion to have 2 vocabs, because this would make the following possible: "Whatever modules you're using should be able to deal with the intersection of the two vocabularies so that you get only Tickets pages for 2006 at a time, and no other ones."
I know how to set up a View which would do that, but is there a simpler way, based on Taxonomies/Vocabularies alone?? "Whatever modules" seems to imply that finding this intersection is really almost standard behaviour, but I don't think that I came across any of that - apart from Views. Could you elaborate on this?
Ludo
Almost Standard
No, you can't do it with just Taxonomy, but it does provide the needed tools to allow other modules, like Views, to do it. In my last post, I had to speak in pretty generic terms because I didn't know what skill set I was talking to, nor the modules that were being used to create the site. The Views module is so powerful and useful that I can safely assume that anybody in this community knows about it. Except that I forget about it because I don't use it. (Burn the heretic!) I'm sure this stems from the coding I've done for Übercart which is almost, but not quite, like already existing modules. So, when I say that something is probably able to be done, that means that I think I can figure out how to do it, but that someone else already has and contributed a module to do it.
Hope that answers your question.
-----
Übercart -- One cart to rule them all.
Have a look at:
modules like:
taxonomy_filter (the HEAD version is Drupal 5 compatible, and I'll be releasing a proper Drupal 5 version any day now)
refine by taxonomy
Basically they just automate generating those intersection urls eg: /taxonomy/term/termid1,termid2
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Check out
http://drupal.org/project/taxonomy_sifter
NancyDru