I am newbie in CMSMS and I need Your help.
I have very simple template, part of it is here:
Code: Select all
<div class="menuhorni">
<h2 class="accessibility">Navigace</h2>
{menu template='simple_navigation.tpl' number_of_levels="1" collapse='1'}
</div>
<!-- /menu horni -->
</div>
<div class="drobek">
Jste zde: {breadcrumbs starttext='' root='dom?' delimiter='»'}
<hr class="accessibility" />
</div>
<div class="levy">
<h2>{title}</h2>
{content} <br />
</div>
<div class="pravy">
--------------------------------------------------------------------------------------------------------------------------------
if{menu below is displayed}
<h2>Menu header</h2>
{/if}
--------------------------------------------------------------------------------------------------------------------------------
{menu template='simple_navigation.tpl' start_level="2" collapse='1'}
<h2>Novinky</h2>
<div class="sedivy">
{news number='2' detailpage='news' category='General'}
</div>
Is there in CMSMS menu module any variable, which say, that menu below this part was displayed? I need display Menu header only if menu below is displayed.
look at: http://www.pkcomp.cz/cz/index.php/triline
on right column there is menu item "Ceník služeb Triline" which need header something like Menu.
Thanks for Your help
I have rewrite action.default in Menu module. Added new variable which show actual menu level