Theming Views problem to print view fields I was trying to edit my view theme with php in the file
views-view-field--homepage-banner--block--field-site-image.tpl.php
and try to print view fields, but values come's empty. any ideas?

Code example:

&lt;?php
$link=$fields['field_site_image_link']-&gt;content;
$src=$fields['field_site_image']-&gt;content;
$link2 = '/' . strip_tags($fields['field_site_image_link']-&gt;content);
print $src;
print $link2;
?&gt;
&lt;a href="&lt;?php echo $fields['field_site_image_link']-&gt;content; ?&gt;"&gt;&lt;?php echo $fields['field_site_image']-&gt;content; ?&gt;&lt;/a&gt;
1- clear cache
2- take the views-view-field.tpl.php source as a starting point for doing what you need also have a look at documentation at the top of the file