Tuesday 10 July 2007 2:46:03 am
Thanks Andre yes - I have used an override, I always do these days! I'm afraid I didn't understand what you were trying to tell me with your code fragment - sorry. Please could you expand upon what you mean? I have been reading the documentation about treemenu and module_result. module_result.path is an array of hashes I believe. In principle could I create an array of hashes like this:
{def $mypathinfo=array( 'text', 'Homepage', 'url', '/content/view/full/2','url_alias','home','node_id','2')}
and then feed that into the treemenu function as follows?
{let docs=treemenu( $mypathinfo,
is_set( $module_result.node_id )|choose( 2, $module_result.node_id ),
ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ),
0, 5 )
depth=1
last_level=0}
|