WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<ul id="nav"><?php show_menu(1,0,1,true,'<li>[a][menu_title][/a]</li>','','','','','class="on"'); ?></ul>
<div class="sottomenu"> <?php ob_start(); // start output buffer show_menu(1,1,-1,true,'<li>[a][menu_title][/a]<br /><br /><li/>','','','','','class="on"'); // call menu $foo=ob_get_contents(); // put outputbuffer in $foo ob_end_clean(); // clear outputbuffer if ($foo<>"") { // some code to execute cause there is some block echo $foo; // show the block (as saved in $foo) } else { // some code for no info } ?> </div>
#nav { margin-top: 115px; background: #fff; float: left; height: 20px; font-size: 12px; font-weight: bold; letter-spacing: 1px; }#nav li { list-style-type: none; display: inline; } #nav li a { text-decoration: none; color: #888; text-transform: uppercase; border-bottom: 0; padding: 0px 10px 0px 10px; font-size: 12px; float: left; }#nav li a:hover { color: #003979; }#nav li a.on { color: #003979; }.sottomenu { width: 320px; margin-top: 15px; }.sottomenu li { list-style-type: none; letter-spacing: 1px; font-size: 12px; text-transform: uppercase; font-weight: bold; line-height: 12px; }.sottomenu li a { color: #888; }.sottomenu li a:hover { color: #003979; }.sottomenu li a.on { color: #003979; }
You are using the "Menulink" as top level Navigation in these described cases, right? It is actually working as designed, since the menulink can never be an active page since it directly redirects to another page. In your case that is the first page in the structure below.cheersKlaus