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
<div class="breadcrumb"> <?php function show_breadcrumbsSpecial($noRootLevel=0,$sep=' > ',$tier=1,$links=true,$depth=-1) { global $wb; $page_id=$wb->page_id; if ($page_id!=0) { global $database; $bca=$wb->page_trail; if (count($bca)==1 && $noRootLevel==1) { echo ' '; } else { echo '<b>You are here:</b> '; $counter=0; foreach ($bca as $temp) { if ($counter>=($tier-1) AND ($depth<0 OR $tier+$depth>$counter)) { if ($counter>=$tier) echo $sep; $query_menu=$database->query("SELECT menu_title,link FROM ".TABLE_PREFIX."pages WHERE page_id=$temp"); $page=$query_menu->fetchRow(); if ($links==true AND $temp!=$page_id) echo '<a href="'.page_link($page['link']).'">'.$page['menu_title'].'</a>'; else echo $page['menu_title']; } $counter++; } } } } show_breadcrumbsSpecial(1);?> </div>
did you try it with a simply show_menu2 call? Look at the dokumentation of show_menu2, I'm pretty shure you can reach this with only one single line in your template, wich is much more better as to add whole functions in the template.Matthias