Sorry guys, sounds stupid but i totally forgot......
If i don't wnat to show a submenu in the template, how do i do that on just one page???
I know it was #CMSimple $output.=submenu();# before but forget about how to do it now..........
Sorry !
Emile
Show submenu on one page
Re: Show submenu on one page
in template:
something like that?
Code: Select all
<?php
if ($su !='page') echo submenu()... or
if (preg_match('/!^page/',$su)) echo submenu();...
Last edited by manu on Wed Aug 13, 2014 8:57 am, edited 2 times in total.
Re: Show submenu on one page
Maybe the simplest way of controling submenu appeareance is usingon pages where the submenu shall be shown. Also removing the submenu() call from the template.
Code: Select all
{{{submenu();}}}
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Show submenu on one page
Thanks Manu, thanks Tata.... the one you've mention is the one i'm looking for!Tata wrote:Maybe the simplest way of controling submenu appeareance is usingon pages where the submenu shall be shown. Also removing the submenu() call from the template.Code: Select all
{{{submenu();}}}
Thanks again!
Emile