WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show menu and content for each node
(1/1)
shadowness:
hello,
I'm new to WB... yet i've been reading but i didn't got much success on my problem.
Say i have a menu like this:
> English
- about
- products
- solutions
- downloads [hidden]
> Portugues
- sobre
- produtos
- solucoes
- downloads [hidden]
My CSS layout has some sidebars with "boxes" and on each box i want to add content!! On each box i would like to have an header with the name of that category... example:
-x-
Downloads
-x-
bla bla bla bla
bla bla bla bla
bla bla bla bla
bla bla bla bla
-x-
I found this on the forum:
--- Code: ---<?php show_menu2(0, SM2_ROOT, SM2_MAX, SM2_CRUMB|SM2_CURRTREE,'<h2>[menu_title]</h2>','','','',false,false); ?>
--- End code ---
but it's not what i'm looking for!!!
Also if you can give me some more information about show_menu and Show_menu2 would be very nice!!! :)
thanks for your time.
Artur
doc:
Hello,
first welcome to WebsiteBaker. Please check out the following links. If you still have problems afterwards, do not hesitate to come back to the forum again :-)
Links:
http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multilingual-websites.php
http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php#anker3
http://code.jellycan.com/show_menu2/
Regards Christian
shadowness:
hy,
thanks for your fast anwser!
the 3rd link is very interesting but i what if i only want to echo the menu title for DOWNLOADS child? i mean... instead of display all menu / submenu only display download menu title.
another question... about boxes and page_content(xx); .... say i want to display the content of DOWNLOADS on a "box" in my index.php ...... but i don't want to click on the menu to the content appear ... it should appear right from the moment page loads!
sorry my pour english... and many thanks for the links!!
shadowness:
about the menu.... i can display the menu_title by page_id, right??!?!? but i can figure out how to use it...
Navigation
[0] Message Index
Go to full version