Howdy,
I'm creating template files for fields of an Agenda view, where times will be listed in a left column and the title, body are listed to the right. I need to add column divs to make this work, but am having troubles theming what I need, not able to wrap my field divs with column divs.
Here's an output example of the default time field:
<div class="views-field-field-agenda-event-time-value">
<span class="field-content">1800 - 2000 hours</span>
</div>
I want it to look like this:
<div class="leftColumn">
<div class="views-field-field-agenda-event-time-value">
<span class="field-content">1800 - 2000 hours</span>
</div>
</div>
Looking at the information in the edit view page, I created a file called:
views-view-field--agenda--field-agenda-event-time-value.tpl.php
The contents of the file looks like this:
<div class="leftColumn">
<div class="views-field-field-agenda-event-time-value">
<span class="field-content"><?php print $output; ?></span>
</div>
</div>
But I'm using the wrong scope because the output looks something like this: