I'm overriding the display of a views row using .tpl file. All is good apart from I can't see how to access a field that has multiple values. When I do a dpm($fields) then the multiple fields are smashed together in "content" separated by a comma. I can't see the multiple values existing separately.

Comments

Anonymous’s picture

Status: Active » Closed (fixed)

The answer was to access it from the $row variable. For example
$row->field_field_writer_prefix[0]['rendered']['#markup']