I need some help sorting out my taxonomy structure. I am currently testing with Taxonomy Select and Content Taxonomy, and nothing is working the way I'd like it to. Maybe there is another structure or design that can be daoe that I am missing.

I want to create a hierarchy for cars, including manufacturer, model, years, and sub-models.

Here is an example of the structure I would like:
Automobile->Ford->Mustang->1969

This causes Dilemma 1:
I can create this structure just fine in Taxonomy with Taxonomy Select, but the breadcrumbs will lead to the "1969" section, and ideally I would like the breadcrumbs to just point to the last model, "Mustang". I am using "Taxonomy Breadcrumbs" and I have posted this question in their support area with no responses.

Dilemma 2:
I have thought about using a CCK select field for the year, BUT there are nearly 100 years of automobile history (my site revolves around older classic cars) meaning I would like have 1910 through 2010 for selections. Most models only have a few years when they were built so this seems overkill. Is there a way to have an option of years to select based on what taxonomy item is selected?

Dilemma 3:
Many models have sub-models which I would like to categorize if possible. This is similar to my Dilemma #1 - Example:
Automobile->Ford->Mustang->1969->Mach 1

Again I wouldn't want the year to be in the breadcrumb list. These would all be attached to the same Node Type, so I can't create a separate CCK field for the year based on a node type for each model.

I'm surprised that 20 mn's of searching through these forums that no one else has tried categorizing cars like this, or shared how they have done it. Any suggestions are welcome and thanks in advance!

Comments

curtaindog’s picture

1 & 3 - http://drupal.org/project/custom_breadcrumbs is quite flexible and will probably handle what you're after.

2 - I've seen a nice solution to a similar problem before but it's a bit of work. Essentially rather than having a fixed tree-like heirarchy, you have a combobox for each field and populate the values by drawing on what is already in the database. I'm not sure if something similar exists in Drupal without resorting to custom coding. You might be able to adapt code from : http://drupal.org/node/510100, which applies a similar concept to views filters

tyler-durden’s picture

Aha! Thanks for the Custom Breadcrumbs script. I forgot all about that, I tested it when I was on Drupal 5.x and it was still beta, and it was a mess at that time. Loks like it is stable now and will work how I want it to!!

As for #2, I will look into that page more but I am leaning towards just using taxonomy tags for these fields as I will also be importing data from other sites and those fields do not seem to be standard in their systme, but a free tagging system also. I can always use generic search filters for these fields and should work well.

tyler-durden’s picture

After sleeping on it I have decided to make the year and sub-model fields CCK based to make things easier, as I will be importing nodes from other locations and those fileds may never be exact. I don't want to categorize all sub models, and I think I can filter the searches in views per model page to fit the correct years.

This will make the Custom Breadcrumb module unneeded since I can use the Taxonomy Breadcrumbs which are working just fine right now.