WebsiteBaker Community Forum
General Community => WebsiteBaker Website Showcase => Topic started by: cito on October 25, 2009, 06:23:33 PM
-
Our company homepage: http://www.cwa-web.de (http://www.cwa-web.de)
Made with WB 2.6, now running on WB 2.8.
Thanks to the makers of WebsiteBaker.
-
Nice Solution with the 2 menus. How You did this?
I like the "Stoffbörse" now I know where I can get mine from. *joking
CU Moritz
-
Nice Solution with the 2 menus. How You did this?
Yeah, and what template did you use?
Grtz,
Luc
-
It's a very simple custom template designed only for this website. The main menu is displayed with show_menu(1,0,1), the submenu with show_menu(1,1,1) inside its own div, the rest is CSS.
-
Easy but great solution. I was first thinking about global block, some if clause or something else...
Really like it and thanks for the solution.
CU Moritz
-
Since somebdoy requested the template code for the navigation section, I decided to make it public here. But please don't copy our complete corporate design 1:1 for your own homepage...
So here is the relevant section from the index.php file:
<div id="navigation">
<div id="mainnavigation">
<?php show_menu(1,0,1); ?>
</div>
<?php ob_start();
show_menu(1,1,1);
$submenu=ob_get_contents();
ob_end_clean();
if ($submenu<>"") {
echo '<div id="subnavigation">';
echo $submenu;
echo '</div>';
} ?>
</div>