1

Is there a module or a way to separate and display only a particular parent term from a taxonomy name in Drupal 7 for the admin, while adding the content.

Consider the home page main menu with vocabulary Name.

The home page main menu has the following taxonomy terms.

Hello
----Red
----Green
----Blue
Test
----Orange
----Black
----Violet

Here in my case I have a content type called Article(for example);

While admin is creating an article, I need to display only the taxonomy term related to Hello. Right now it is displaying all the taxonomy terms related to Hello and Test. Is there a way to separate the parent terms from the same Vocabulary Name.

  • Do the Hello and Test terms need to be in the same category? If they should be used apart from each other, they should probably be separate vocabularies, not the same one. – Patrick Kenny May 9 '12 at 6:42
  • there is any way to separate the Hello and test from the same categories or display only hello for the admin using megadesk3000 suggested module. – bharathi May 9 '12 at 7:08
  • You can simply delete the terms from one category and move them to the other. You'll have to reconfigure all fields that referenced the old terms, though. Or you can try Jan's solution below. – Patrick Kenny May 9 '12 at 7:09
  • Here Hello and Test are the Main menu Menu items.If i move the Hello to separate category, then there is any way to display both the categories in the Main menu. – bharathi May 9 '12 at 7:15
  • How are you displaying them in the menu now? Just use the same technique to display them in the menu once they are separate. – Patrick Kenny May 9 '12 at 7:17
1

I think this is, what you searching for: Taxonomy Term Reference Tree Widget.

Here is a quote about it (from the module's project page):

... provides an expandable tree widget for the Taxonomy Term Reference field in Drupal 7. This widget is intended to serve as a replacement for Drupal's core Taxonomy Term Reference widget, which is a flat list of radio buttons or checkboxes and not necessarily fit for medium to large taxonomy trees.

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.