Closed (fixed)
Project:
Gallery formatter
Version:
6.x-1.0-rc3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2010 at 17:22 UTC
Updated:
3 Dec 2010 at 18:00 UTC
What's the variable to print this particular field in node.tpl? Normally we would do print $node->field_imgfield[0]['view']; ?> but it doesn't seem seem to work. Thanks.
Comments
Comment #1
manuel garcia commentedIf you are ever unsure, do a dpm(get_defined_vars()); (if you have devel installed).
This module does nothing special in naming variables, CCK takes care of that. I usualy print the fields the way CCK provides you with, print $field_FIELDNAME_rendered;
In any case, like I said before, the field is provided by imagefield, we only format it, so there's nothing different in using galleryformatter module.