I want to use Some webpages without header and menu to use in a XIBO presentation.
My idea is to make Some CMSimple pages and don't show them in the menu buy I kan link them in my XIBO presentation.
How do I do I do That?
Webpage without menu
Webpage without menu
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Webpage without menu
simply remove the <?php echo toc();?> or <?php echo li();?>
Re: Webpage without menu
In the template? Or can I do this for only one or more pages and not the whole website??
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Webpage without menu
Yes, that changes have to be made in the template. You can use the technique for page specific adjustments, or a variant thereof:
Replace 'Name_of_one_page', 'Name_of_another_page' with the pages that should not display the menu. Maybe you have to put some more of the HTML in this "bracket".
PS: Or you can use page specific templates.
Code: Select all
<?php if (!in_array($su, array('Name_of_one_page', 'Name_of_another_page'))): ?>
<?php echo toc();?>
<?php endif;?>
PS: Or you can use page specific templates.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Webpage without menu
I also use CMSimple pages for presentations and have the menu hidden for the public, but still accessible for me while editting.
Only the admin and only if logged in can see the navigation. So any editting is simple and comfortable.
Code: Select all
<div class="container">
<?php if($adm==""){echo "";} else {echo toc();}?>
<div class="tpl_main">
<div class="content">
<?php echo editmenu();?>
<?php echo content();?>
...
Only the admin and only if logged in can see the navigation. So any editting is simple and comfortable.
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.