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
<?php show_menu2(0,0,1,true,'<li><a href="[url]" title="[menu_title]"> <span>[menu_title]</span></a></li>','','','','',''); ?>
<?php show_menu2(0,38,1,true,'[li]<a href="[url]" title="[menu_title]">[menu_title]</a>'); ?>
<?php show_menu2(0, SM2_ROOT, SM2_MAX+1, SM2_CRUMB, '<span class="[class]"> > <a href="[url]" title="[menu_title]">[menu_title]</a>', '</span>', '', '', 'Sie sind hier: <span class="[class]"><a href="[url]" title="[menu_title]">[menu_title]</a>'); ?>
<?php show_menu2(0,39,1,true,'| <a href="[url]" title="[menu_title">[menu_title]</a>','','','','',''); ?>
$aMaxLevel Maximum menu level to display. Menus are displayed from the start level down to this level. SM2_ALL No limit, all levels are displayed SM2_CURR+N Always show to the current page + N levels. SM2_CURR Current (no children) SM2_CURR+3 All parents + current + 3 children SM2_START+N Always show from the starting level + N levels. The levels of menu will always be displayed regardless of what level the current page is. SM2_START Single level of menus from starting level SM2_START+1 Starting level and 1 level down SM2_MAX+N Show at most N levels from the starting level. Levels won't be shown if they are below the current level. SM2_MAX Starting level only (same as SM2_START) SM2_MAX+1 Maximum of starting level and 1 level.
<?php show_menu2(0,38,SM2_ALL,SM2_ALL,'[li]<a href="[url]" title="[menu_title]">[menu_title]</a>'); ?>