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

Permanently Undecided’s picture

Status: Active » Closed (duplicate)