Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
5.x-1.4-2rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2007 at 04:58 UTC
Updated:
10 Jan 2007 at 16:45 UTC
I notice that when I generate a theme for views, there seems to be an error in the code that gets generated.
This is the code that is generated:
<?php print $field-product-image-fid?>
This does not work and a '0' is displayed. By replacing the hyphens manually into underscores, my views values are then returned properly.
<?php print $field_product_image_fid?>
Comments
Comment #1
Permanently Undecided commentedDuplicate of http://drupal.org/node/104459.