Hi,
I am a newbie to websitebaker and I need some help.
I have been following the multilingual Website tutorial from here:
http://www.websitebaker2.org/en/help/designer-guide/multilingual-websites.phpI have got most of the way through and the switching works, but when I get to the part
"Hide the container pages (parents)" with the instruction to modify the template index.php with the following:
Change the following line int the index.php file of your template
<?php show_menu(); ?>
into:
<?php show_menu(1, 1); ?>
Here I have a problem. I want to use the "Office Time" template from:
http://www.escpro.de/esc/websitebaker/free-templates.phpand the show_menu line is like this - a little more complicated !!!:
<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL, '<li><a href="[url]" class="[class] navlev[level]">[menu_title]</a>', "</li>", '<ul class="ullev[level]">', "</ul>", true, '<ul id="header_menu" class="menu">');?><br style="clear:left;"/>
How do I modify this line of code to hide the container pages as per the tutorial ?
I also tried the Allcss2 template and had exactly the same problem. The results was either a completely blank screen in the front end or the menus were corrupted.
Any help would be much appreciated.
Alan