WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Show_Menu2 help
Smile:
I am working on the template "master_Green" and as far as i can tell show_menu2 is installed, but i cannot get the left menus to show. Top right work ok, all i want is the root menus (same as the top ones) to show on the left under the heading Menu.
Please help i am a novice so it needs to be simple!!!
<?php echo $TEXT['MENU']; ?>
</th>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<?php show_menu2(2,0,-1,true,'<tr align="left"><td>[a] [menu_title] [/a]</td></tr>','','','','class="mainlevel"','class="mainlevel" id="active_menu"'); ?>
</table>
</td>
This is the code in the template index.php file.
Thanks
kweitzel:
The first Digit in the Menu Call after the opening bracket stands for the menu in use. In you call it refers to menu number 2. Do populate it you'll have to assign a page to that menu in the page setting. Alternatively, if you want to display the same options, just change the '2' to a '1' ...
cheers
Klaus
Smile:
Thanks for the reply Klaus ... i changed the 2 to 1 and the menus now show on the left but it also shows this peace of code class="mainlevel" id="active_menu"class="mainlevel" do i also have to remove it?
Many thanks
Alan
kweitzel:
Is this part here in 1 or 2 lines?
--- Code: ---<?php show_menu2(2,0,-1,true,'<tr align="left"><td>[a] [menu_title] [/a] </td></tr>','','','','class="mainlevel"','class="mainlevel" id="active_menu"'); ?>
--- End code ---
It should be in 1 Line.
cheers
Klaus
Smile:
Menu
class="mainlevel" id="active_menu"class="mainlevel"
Jo Love
Flower Care
Decalation
Window Shopping
Contact US
This is how it now shows on the website, the code is all on 1 line
Any idea why it is displaying the code.
Thanks
Alan
Navigation
[0] Message Index
[#] Next page
Go to full version