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
1) show_menu2(0, SM2_ROOT+1, SM2_CURR+1); 2) show_menu2(0, SM2_ROOT+1, SM2_CURR+1, SM2_ALL, false, "\n</li>", false, false, false, '<ul class="udm" id="udm">');
show_menu2(0, SM2_CURR, SM2_CURR, '','- [a][menu_title]</a><br>','','','<br>');
Other pages in the category "XYZ" are:- sibling- another sibling
ul{margin-left: 0;padding-left: 0;list-style: none;}li{padding-left: 32px;padding-top: 17px;background-image: url(zahn_single.png); height: 35px;background-repeat: no-repeat;background-position: 0.1em;}.menu {}.menu a { font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #ffffff; font-weight: bold; vertical-align: middle; text-align: left; text-decoration: none; background-position:left; background-repeat:no-repeat; padding: 2px 0px 2px 2px; height: 35px; } .menu a:hover { font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; font-weight: bold; vertical-align: middle; text-align: left; text-decoration: none; background-repeat : repeat-y; background : url(menu_hover.png) repeat-y left; }
// Site Map Menu Callshow_menu2(0, SM2_CURR+1, SM2_CURR+1, SM2_ALL|SM2_ALLINFO, '[li][a][page_title]</a> <br /><blockquote class="highlight">[description]</blockquote>', false, '<ul class="sitemap [class]">');
[description=UNKNOWN]
using another template
show_menu2(0, SM2_ROOT, SM2_MAX+2, SM2_CRUMB, ' > [a][menu_title]</a>', '', '', '', '<strong>You are here:</strong> [a][menu_title]</a>');
I'm using the following to show a site map for current level pages complete with descriptions:... using SM2_ALLINFO ...... but when I try using another template it only returns.[description=UNKNOWN]
<select name="drop_menu"> <?php show_menu2(0, SM2_ROOT, SM2_START, '<option value="[menu_title]">[a][menu_title]</a>', '</option>'); ?></select>