A simple & fastest solution is this way:

e.g. You have 3 fields you want to group:
- exclude the field 1 & 2 from display
- output the 3rd field with rewrite

example:
my fields:
Fields: field_event_motto -> check "Exclude from display"
Fields: field_date -> check "Exclude from display"
Fields: field_event_location -> check "Rewrite the output of this field"

the rewrite code: e.g. <div class="wrapper>[entity_id_2] - [entity_id] - [entity_id_3]</div>

# [entity_id_2] == Fields: field_event_motto
# [entity_id] == Fields: field_date
# [entity_id_3] == Fields: field_event_location

PS: Once given a rewrite code the textbox is hidden sometimes. Reload and try again.

Comments

drupal a11y’s picture

As I haven´t ever worked with d5 I don´t now if this works.