I have a content type that must have two fields where a user can choose terms from the same vocabulary.
For example, an organization's "product" content type must have a reference to a "product categories" (multiple select) taxonomy vocabulary AND it must have a reference to a "primary product category" (only one selection allowed).
"Product categories" and "primary category" should point to the same taxonomy vocabulary, so that when I change one term in a vocab, I don't have to change the term in the other. AFAIK I can only have one reference per content type to a single taxonomy vocabulary, and that is set in the taxonomy vocabulary itself, not in the content type.
I found content_taxonomy module, which allows me to set references to taxonomy vocabularies as content fields in CCK. Using this I can accomplish the above. However, I need to extract info from the $node object in a feed, and setting terms using content_taxonomy does not allow me to extract the term name from the $node object. I only get ids of the taxonomy terms like this:
[field_gd_categories] => Array
(
[0] => Array
(
[value] => 1
)
)
I could, of course, make a database call to get the taxonomy term, but that defeats the purpose of using a view to generate the feed. I might as well query the database manually for the feed in the first place.
So:
Is there a simpler approach to do what I am trying to do without using content_taxonomy?
Comments
Sorry to bump this, but just
Sorry to bump this, but just want to make sure my question is clear...Thanks.