I'm trying to do something with my navigation but I'm not very familiar with Smarty so I ended up 'in the middle of nowhere'. Maybe someone could help me out...
I'm using minimal_menu and I would like to change the behaviour of section headers to act like links to its own first child page. This is the part of the minimal_menu dedicated to section headers:
Code: Select all
<li class="sectionheader{if $node->parent} activeparent{/if}">
{$node->menutext}
{if isset($node->children)}
{include file=$smarty.template nodes=$node->children depth=$depth+1}
{/if}
</li>
I can wrap it up in link tag but I have no ideas left what syntax to use to get what I need! And I have tried many, many solutions...
Thank you in advance for ideas or help of any kind!
Best regards,
jakovbak