I have a content type (Staff Member) with many fields, such as portrait, name, and bio. The name and bio fields are grouped together under the field group _text_fields_.
I have created a view for this content type.
The view renders each content node like this.
<div class="views-row">
<div class="staff photo"><img src="...." /></div>
<div class="staff name">John Doe</div>
<div class="staff bio">John Doe has been with us for 800 years.</div>
</div>
However, I want grouped fields to be grouped like this.
<div class="views-row">
<div class="staff photo"><img src="...." /></div>
<div class="text_fields">
<div class="staff name">John Doe</div>
<div class="staff bio">John Doe has been with us for 800 years.</div>
</div>
</div>
I've tried writing a views-view--staff-members.tpl.php template file, but it receives all of the .views-row items as a HTML string.
How might I accomplish this?