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

manuel garcia’s picture

Status: Active » Fixed

If 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.

Status: Fixed » Closed (fixed)

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