Accessing fields from view template I have a block view which filters for a specifiy content-type. I'd like to fully style it myself and also write the html myself it outputs. So I went and created the file views-view-fields-header-image-slider--block.tpl.php in /templates.

Now, I do have the $view object but no $field etc. Also var_dump($view-&gt;field['description_title']); result in Null.

I'm a bit confused how I can access the fields nor properly so I can render the image + description and all the other stuff.
If you haven't already, look at the theme information in the Advanced section on your Views admin page. It's near the bottom.

You should see a list of theme templates for each field, along with a row style that should have information for each row. Each field is also linked to a sample template, and you will also notice the list of file names the view is searching for, from general to specific. I've attached an example of what it looks like.

Looking at my own now... You might also want to try the "style output," though in my case I did everything through the field content template.


Edited to add:

I don't have enough reputation to comment yet, but it looks like there is some useful info on How do I access a field value in the $row variable in a field view theme template?

Simply out, here are the two approaches from over there:

$field = $row-&gt;{$field-&gt;field_alias}
$rendered_field = $view-&gt;render_field($fieldname, $view-&gt;row_index);