Tuesday 25 January 2011 6:24:08 am - 2 replies
Franck Magnan
Tuesday 25 January 2011 11:20:10 am
Hello Alan, to display all data of a variable, you can use the attribute operator.For example, you can modify your code to get this:
{def $collection=fetch('content','collected_info_list', hash('object_id', $obj.id))} {foreach $collection as $col} {foreach $col.attributes as $colAttr} {$colAttr|attribute('show',1)} {/foreach} {/foreach} {undef $collection}
++
-- Developer at Open Wide
Alan Fowler
Thursday 27 January 2011 1:33:20 pm
Hi Franck,
Many thanks - took a bit of further coding but I got there.
Best
Alan
You must be logged in to post messages in this topic!