I’ve overridden the views-view.list.tpl.php. I want to optionally included some extra HTML markup if a value in a CCK field for the current node is set to certain values.
How can I access CCK field values in a views-view.list.tpl.php view template file?
views-view.list.tpl.php. does the whole list not a node, are you wishing to style the whole list or just an item?
in views-view-fields.tpl.php there is a
$fieldsvariable defined which should have what you want.You should try devel and theme developer they will make this much easier than using SO.