I cannot for the life of me figure out how to print the value of a field in the 'fields' template. Currently, I'm doing this to strip the unnecessary html (don't laugh):
<?php $shortContent = $fields['field_short_name']->content; ?> <?php $shortText = strip_tags($shortContent); ?> <?php $strategy = $fields['title']->content; ?> <?php $cleanStrategy = strip_tags($strategy); ?> <?php $company = $fields['field_money_manager_company']->content; ?> <?php $cleanCompany = strip_tags($company); ?> <?php echo '<img class="logo" src="/sites/all/themes/trust/img/mmx-logos/' . $shortText . '-logo.png" />'; ?> <div class="row-heading"> <?php echo '<h2>' . $cleanCompany. '</h2>'; ?> <?php echo '<h3>' . $cleanStrategy . '</h3>'; ?> </div><!--end row-heading--> How can I just get the value of the fields without having to print the entire 'content' and then strip the unnecessary elements?



