Thursday 18 December 2003 2:23:37 am
Hi Have you tried to debug with writting out the actual values of your variables? Try this:
{*Get total Count of Study Materials*}
{*Get total Count of Articles*} {let totalResources=fetch('content','list_count', hash('parent_node_id',$node.node_id,'class_filter_array',array(17),'class_filter_type','include')) totalArticles=fetch('content','list_count', hash('parent_node_id',$node.node_id,'class_filter_array',array(2),'class_filter_type','include')) }
Debug: totRes: {$totalResources} Debug totArt: {$totalArticles}
{section show=gt($totalResources,0)}
<table><tr><td>Message 1 </td></tr></table> {/section}
{section show=gt($totalArticles,0)}
<table><tr><td>Message 2 </td></tr></table> {/section} {/let}
|