Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta3
Component:
Views Data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2008 at 11:56 UTC
Updated:
7 Jun 2008 at 15:52 UTC
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
Comment #1
merlinofchaos commentedThis 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.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.