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

2
  • Quick tabs Module would do that. in conjunction with views
    – sam2de
    Commented Aug 11, 2015 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... Commented Aug 12, 2015 at 7:32

1 Answer 1

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.

7
  • 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... Commented Aug 11, 2015 at 15:18
  • @GaelSapori please look at the setting carefully, I think it can show all of them
    – Yuseferi
    Commented Aug 11, 2015 at 15:20
  • I want to tab City nodes in World, not City fields in World... Commented Aug 11, 2015 at 15:23
  • @GaelSapori I update my answer with more details.
    – Yuseferi
    Commented Aug 11, 2015 at 17:09
  • Referenced tabs does not let me use check box for multiple nodes (and of course tabs). Only radio buttons Commented Aug 12, 2015 at 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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