Forums / Setup & design / collected_info_collection
Joël LEGER
Wednesday 24 September 2008 8:29:36 am
Hi,
i read articles, docs and forums on how to get info collected.so i used this code :
{def $collection_count = fetch(content, collected_info_count, hash(object_id, $node.object.id))} {for 1 to $collection_count as $counter} {def $collection = fetch(content, collected_info_collection, hash(collection_id, $counter, contentobject_id, $node.object.id))} <p>{$collection.data_map.votre_attribut.data_text}</p> {undef $collection} {/for} {undef $collection_count}
The problem is this code fetch the incremental number (1...to n) and not the collection_id.
So my question is how to fetch the collection_id of a contentobject_id ?
Monday 29 September 2008 12:48:56 am
For people who intereted, i found a no documented function
collected_info_list
who fixed my problem.