Snippet: Template logic to fetch and display collected information content objects
Table of contents:
Solution
This piece of template code iterating the already stored and collected information has only the purpose of demonstration.
{def $collection=fetch('content','collected_info_list', hash('object_id', $obj.id))}
{foreach $collection as $col}
{$col.creator.contentobject.name|wash} {* name of the user who stored something into the i.c. *}
{foreach $col.attributes as $colAttr}
{$colAttr.contentclass_attribute_name}
{attribute_result_gui view=info attribute=$colAttr}
{/foreach}
{/foreach}
References
- Doc: N/a
