Thursday 31 August 2006 8:42:18 pm
Hi
i have the following code {def $offset=0 $limit=8} {if is_set($view_parameters.offset)} {set $offset=$view_parameters.offset} {/if} {def $meny=fetch('content','list', hash( 'parent_node_id', $node.node_id, 'offset', $offset, 'limit', $limit ))} {def $meny_count=fetch('content','list_count', hash( 'parent_node_id', $node.node_id ))}
<table> {foreach $meny as $element}
<tr>
{if eq($node.node_id,$:element.node_id)}
<td width=15> <img src={"images/red_sarrow.gif"|ezdesign} ></td><td>
<a href={$:element.url_alias|ezurl} class=innerlinks> <b>{$:element.name}</b></a>
</td>
{else}
<td width=15> </td><td> <a href={$:element.url_alias|ezurl} class=innerlinks> {$:element.name}</a> {/if}
</td>
</tr> {/foreach}
</table> {include uri="design:navigator/simple.tpl" page_uri=$node.url_alias item_count=$meny_count view_parameters=$view_parameters item_limit=$limit}
<span class="content_text"> </span>
is not woking pls help me Thanks
|