Tuesday 04 October 2005 12:12:41 am
Hello Kristof. This was my original full view:
{let children=fetch( content, list, hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array ))}
<table class="in_departement">
{section name=Child loop=$children}
<tr>
<td>
<a href={$:item.url_alias|ezurl}>{$:item.name}</a>
</td>
</tr>
{/section}
</table>
{/let}
I turn it into this:
{let children=fetch( content, list, hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array ))}
<table class="employees">
{section var=emp loop=$children}
{section show=$emp.class_identifier | eq('Employee')}
<tr>
<td>
<a href= {$emp.url_alias|ezurl}> {$emp.name|wash} </a>
</td>
</tr>
{/section}
{/section}
</table>
<hr />
<table class="services">
{section var=serv loop=$children}
{section show=$serv.class_identifier | eq('Service')}
<tr>
<td>
<a href= {$serv.url_alias|ezurl}> {$serv.name|wash} </a>
</td>
</tr>
{/section}
{/section}
</table>
{/let}
... but it return nothing !
|