Thursday 17 March 2005 9:30:31 am
Hi,
I am a beginner and I encountered a problem with URI in the pagelayout.tpl.
I have five elements in main menu and with all five sections, there is a different sub-menus and these submenus contains several number of elements. I want to set the page like that when I click on any element of main menu it comes with its submenu and when I click on any element inside the submenu the arrow is shown against that element. Now for the first problem I have used one idea by putting following strings in the pagelayout.tpl file:
PARENT NODE ID : {$parent_node.node_id}
{section show=$parent.node_id|eq(59)}
{include uri="design:presentation.tpl"}
{/section}
{section show=$node.node_id|eq(60)}
{include uri="design:notre_metier.tpl"}
{/section}
In above example i had just give two element of main menu and i succeed into getting the corresponding sub menu.
But I think for the second problem with the presentation of arrow against element of submenu, the above way can work but it is not too logical.
For more detail you can refer the following site:
http://www.iclab.net So, anyone could help me in this problem Thanks for reading me.
|