Forums / Setup & design / Filtering related_contentobject_array / Comment13483
Tristan Koen
Wednesday 10 September 2003 1:22:15 am
Hi Paul,
I thought about that. The problem is what do I use to determine whether I show or not. Up until now I have been using {section show=$node.object.related_contentobject_array}
The problem there is that it will show if there are *any* related objects (including the images).
My full source code looks like: {section show=$node.object.related_contentobject_array} <div class="related"> <ul> {section loop=$node.object.related_contentobject_array} <li><a href={concat("/content/view/full/",$:item.main_node.node_id)|ezurl}>{$:item.name}</a></li> {/section} </ul> </div>{/section}