2

I have the following taxonomies:

  • Countries
  • Cities

When I create a new node Im allowing to enter "Cities" as a field of that node. Given that I have a "mapping" in place, how can I automatically assign the "Country" to that node as well (the user doesn`t have to do it, it happens in the background)?

Example: I "tag" a node with "New York" - and that node is atomatically tagged with "United States" behind the scenes. When listing "United States" in a view, the node tagged "New York" would appear amond all other nodes tagged with US cities.

Also, where would the mapping of "New York -> United States" be defined?

Thanks for your help!

1
  • Anyone got a clue here? – Espen Arnoy Jan 9 '16 at 23:22
1

Here is the module to do it:

Hierarchical Term Reference Autocomplete

I think it's preview image shows exactly what you want

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.