[SOLVED] Can start_page just show children and not the parent?
Posted: Fri Jan 18, 2008 4:35 pm
Currently I have start_page="weddings" which shows a wedding section with all its children, but how do I not display the parent as I am already linking to that using includeprefix="weddings,lifestyle,hair,creative,commercial" as it is a main link on my site.? Will I have to change the menu template which is:
Edit: The code block doesnt work very well in these forums.
{if $count > 0}{strip}{counter start=0 name=itemcount assign=itemcount print=false}{foreach from=$nodelist item=node}{counter name=itemcount print=false}{if $itemcount ne '1'}|{/if}{if $node->current eq true}{$node->menutext}{else}url}">{$node->menutext}{/if}{/foreach}{/strip}{/if}
Thanks all.
Code: Select all
{if $count > 0}{strip}{counter start=0 name=itemcount assign=itemcount print=false}{foreach from=$nodelist item=node}{counter name=itemcount print=false}{if $itemcount ne '1'}<em>|</em>{/if}{if $node->current eq true}{$node->menutext}{else}<a href="{$node->url}">{$node->menutext}</a>{/if}{/foreach}{/strip}{/if}
{if $count > 0}{strip}{counter start=0 name=itemcount assign=itemcount print=false}{foreach from=$nodelist item=node}{counter name=itemcount print=false}{if $itemcount ne '1'}|{/if}{if $node->current eq true}{$node->menutext}{else}url}">{$node->menutext}{/if}{/foreach}{/strip}{/if}
Thanks all.