This is a pretty common thing you'll do thoughout the site. You need to use the attribute_view_gui function. Pass it the node's attribute you want to render and it looks after the rest:
This page has a list of similar functions : http://www.ez.no/ez_publish/documentation/development/libraries/ez_template/functions/function_list under the heading "eZ publish kernel functions"
You must be logged in to post messages in this topic!