By rampar on
Ok, so reading through all the material, I still can't get this to work. I have a view, called "testview" and all it has is one field, which is the Node: Title. And I've set the filter Node: Title = 'test' so that it only reports back one listing when I run the view.
Anyway, I'm just trying to get it to return the single field! And it won't work, this is all that is in my views-view-field--testview.tpl.php file.
<?php
//print $output;
print $fields['title']->content;
?>
With print $output commented out I only get just the header
Title:
and if I uncomment it I get
Title: test
So, what am I doing wrong? I just want to pull the value of the field 'title'...
Thanks!
Comments
Nevermind
After all that frustration, I ended up renaming views-view-field instead of views-view-fieldS...
Maybe I should get some sleep.