0

I have many Parent Terms with child terms on a Vocabulary. I wanna use one of the parent terms on a content type as option. Is it possible to have a Term Reference field on a Parent Term instead of a Vocabulary?

1

Create a view that show the taxonomy terms that you want to have as options for selection (you will have to manipulate depth).

Then you create an Entity reference field on your content type that references a taxonomy term. When you add the field it will ask for Entity Selection mode. You select Views (the alternative is Simple), and then you select the view that you created above.

  • The entity reference field mentioned is "Entity reference" module? – CocoSkin Aug 30 '14 at 12:16
  • @h-l yes it is. – J. Reynolds Aug 31 '14 at 5:37
  • On the Views, I only see the depth for Content Has Taxonomy Term ID with Depth, which i have to create Content View not Taxonomy. Is there a depth option for Taxonomy Terms View? – CocoSkin Sep 2 '14 at 12:58
  • I actually added the Taxonomy Term: Parent Term on Filter Criteria section, and it works. – CocoSkin Sep 2 '14 at 16:54

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.