I have a view named studies that displays title, status. The status field should be "Active" or "Completed". This value is the result of comparing the timestamp of the date field that my content type has with the today timestamp. So I added the date field to my view as well, but choose to have it excluded from display. Then I created a global text field with the label "Status".
Then i tried taking my first steps into theming. What I need is to override the content of the Status field with either "Active" or "Completed" based on my code. I created a template called views-view-field--studies--nothing.tpl based on the suggestions of the Views theme information. The problem is that it doesn't matter what I write inside nothing gets displayed, not even just a simple
<?php print $output."Hello World"; ?> (I did rescan the template files and Views sees my template, plus I flushed all caches)
My view right now has table style. I changed the style to unformatted list and voila the Hello World showed up! So am I messing around with the wrong template? Do I need to create a template for the table style of my view? Seems too excessive when I only need to override the content of one field.