Monday 29 May 2006 1:38:43 am
Hello.
Someone knows the failure?
the first access to the page give the result I was especting. this is he code: {def cle_section=$DesignKey:section}
<div class="connect_link">
{include uri="design:link_connect_user.tpl"}
</div>
{def $ma_section=fetch('section', 'object', hash('section_id', $DesignKeys:used.section))}
{if $ma_section.name|contains('diath')}
{section loop=fetch(content, list, hash(parent_node_id, $node.node_id,
class_filter_type, "include",
class_filter_array, array('folder'),
)
)
}
<p align="left"> <a href={$:item.url_alias|ezurl}>{$:item.name}</a></p>
{/section}
{elseif $ma_section.name|contains('ili')}
{else}
{$ma_section.name}
{/if}
{undef}
i just want to get differents type of children according to the "used/visited section". the code in in <b>link_connect_user.tpl</b> is just an override of login.tpl please help :-/
|