Is it possible somehow to modify the displayed names of tab-/accordion items dynamically based on values of a node or noderelation ?

an example case:
I have a node-type (event) with related node-types (artists) and I want to display the artist-names as the tab-item-names or as the accordion-item-head-names and not with the given names I configured in the content-type-display-settings.

Comments

Stalski’s picture

Status: Active » Postponed

Well, since yesterday, there is an api in fieldgroup and you have theming functions.
So with theming function you could do this anyhow.
With fieldgroup you are free to define your own formatters with settings. Maybe you can introduce "accordion-from-multi-field" or something, where the wrapper group knows it needs the inner fields' multivalues. But that's maybe off topic for field_group.

drupal a11y’s picture

Status: Postponed » Closed (fixed)

Cool - I will keep this in mind and try this in a few weeks.