WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2: valid XHTML and CSS selectable menus
marccouture:
Hi,
Reading through this thread, I haven't come across a non-coders' perspective on using this snippet. Can someone explain how to integrate this in, say, the Simple template that is included in WB and change the default display of the left-hand side menu?
Thanks!
ruebenwurzel:
Hello,
using this replacement function is very easy. Download the last version, install the zip file as a modul and replace the menu call in the template (show_menu, page_menu or menu) with show_menu2. Thats all. If there are some arguments in the brackets after the call ( f.e. (0,1,1) you can use this with the replacement function too without any problems. To get the whole functions working it is better to replace this arguments with the new ones. Look at the readme.txt wich comes with the modul.
With these arguments you can change f.e. the default display of the left-hand side menu. So if you can describe what you want i'm pretty shure we can give you some hints. It's really not difficult because very logical structured.
Matthias
berndn:
I like it and have only one problem.
Can this be implemented http://examples.codecharge.com/CCSExamplePack2/VerticalCSSMenu/VCSSMenu.php ?
I have serious trouble with this.
Can someone help ?
ruebenwurzel:
Hello,
what's your problem with this?
Matthias
berndn:
I want to create this kind of list:
--- Code: ---<div id=menu><ul id=menuList><li><a href="#" name="submenu" class="submenu">Products</a><ul><li><a href="#">All</a></li>
<li><a href="#">CodeCharge</a></li>
<li><a href="#">CodeCharge Studio</a></li>
<li><a href="#">DemoCharge Studio</a></li>
<li><a href="#" name="submenu" class="submenu">Comparison</a><ul><li><a href="#">CodeCharge Studio</a></li>
<li><a href="#">DemoCharge Studio</a></li></ul></li>
</ul></li>
--- End code ---
But all my tries lead to garbish :)
Anyway to dump the show_menu2 output into an php array or is this to complicated :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version