I'm trying to theme a view. I started out using a hack in views-view-fields.tpl.php to check the view name then discovered you could use separate theme files based on the view name. I moved the code into views-view-fields--slideshow--block.tpl.php but it appears that the $fields variable that was available in the default template is missing? Am I just missing something? I did a get_defined_vars() in the template file and I might have missed it. But if it is there and just changed the name, for consistency sake shouldn't it be the same?

Comments

merlinofchaos’s picture

Status: Active » Fixed

This is a bug in Drupal core and ha been fixed in the Drupal 6.x-dev version. This is mentioned in the helpfile that goes with the theme: information page.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.