Closed (fixed)
Project:
Advanced Forum
Version:
7.x-2.3
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2013 at 15:53 UTC
Updated:
5 Jul 2014 at 16:20 UTC
Jump to comment: Most recent
Comments
Comment #1
x3cion commentedHi,
all fields are available through the $content variable, like $content["field_image"]. Mind that this field should be assigned to both the forum node type itself and the comment, since both use the post template. Also, you should use hide() on your field like hide($content["field_image"]). Then you can use render($content["field_image"]) wherever you like.
Note though that I just don't use any easier way to do this, else I'd suggest it.
Comment #2
podarokPlease, use proper status messages