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(1, SM2_ROOT+1, SM2_START+1, SM2_TRIM,'[if(level>1){<dd>}][if(level==1){<dt>}][a][menu_title]</a>[if(level>1){</dd>}][if(level==1){</dt>}]');?>
<?php show_menu2(3, SM2_CURR-1, SM2_ALL, SM2_ALL,'[if(level>0){<dd>}][if(level==0){<dt>}][a][menu_title]</a>[if(level>0){</dd>}][if(level==0){</dt>}]');?>
I don't know if I understand what you want. The "Extra Menu" of this template is designed as a fixed menu - that means it always shows the same structure. This structure of pages has to be at the root - so this works as intended.If you want to show a submenu of the current page of the main menu you have to alter the call to show_menu2 at line 160 of index.php. Here is an example for such a call:Code: [Select]<?php show_menu2(1, SM2_ROOT+1, SM2_START+1, SM2_TRIM,'[if(level>1){<dd>}][if(level==1){<dt>}][a][menu_title]</a>[if(level>1){</dd>}][if(level==1){</dt>}]');?>If this is not your problem, please give more details about your structure of pages and how you want to put them into the different menu blocks.regardsMichael