I created a new content type with 2 custom fields - field_quote and field_author. I then created a view with "row-style:node" to display this content type in a block. I created a custom node--view--myview.tpl.php with this code:
<div id="node-<?php print $node->nid; ?>" >
<div class="content">
<blockquote class="large-bold"><p><?php print render($content['field_quote']); ?></p></blockquote>
<blockquote class="med-ital"><p><?php print render($content['field_author']); ?></p></blockquote>
</div>
</div>
When I save everything, clear caches, look at the page my 2 fields are displayed but not formatted properly. When I view source I see this code:
<div id="node-6" >
<div class="content">
<blockquote class="large-bold"><p><div class="field field-name-field-quote field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">quote here</div></div></div></p></blockquote>
<blockquote class="med-ital"><p><div class="field field-name-field-author field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">author here</div></div></div></p></blockquote>
</div>
</div>
what I want is just this code:
<div id="node-6" >
<div class="content">
<blockquote class="large-bold"><p>Quote here</p></blockquote>
<blockquote class="med-ital"><p>author here</p></blockquote>
</div>
</div>