1

I have two Content Types (Country, City). I want to display full contents of City in Country, so I did like this: - create a field in World Content type - set this field as entity reference (City).

Drupal print the two City contents in World successfully but I want put the city content in horizontal tabs.

I tried the module references_tabs, but it can put only one field reference at time.

How can I do so?

Thanks

  • Quick tabs Module would do that. in conjunction with views – sam2de Aug 11 '15 at 18:30
  • Nice try, but quick tabs cannot be added as field in the content type. Is there any other way to render a referenced entity in a content type? The hard code mod is the last solution... – Gael Sapori Aug 12 '15 at 7:32
1

According to the description of the References Tabs module

This module allows to render nodes referenced via a node reference field in tabs, with node titles as tab titles and rendered nodes as tab content.

it is only support Nod referenced not entity reference ,you can see here that it is not support entity reference , you can change your field from entity reference to node reference type.

  • This module cut the City fields individually to let you display single field in World. I want to tab nodes 'City', not fields of City... – Gael Sapori Aug 11 '15 at 15:18
  • @GaelSapori please look at the setting carefully, I think it can show all of them – Yusef Aug 11 '15 at 15:20
  • I want to tab City nodes in World, not City fields in World... – Gael Sapori Aug 11 '15 at 15:23
  • @GaelSapori I update my answer with more details. – Yusef Aug 11 '15 at 17:09
  • Referenced tabs does not let me use check box for multiple nodes (and of course tabs). Only radio buttons – Gael Sapori Aug 12 '15 at 7:33

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.