Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:10:27 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: show menu and content for each node  (Read 773 times)
shadowness

Offline Offline

Posts: 18


« on: January 16, 2008, 03:22:53 PM »

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(0SM2_ROOTSM2_MAXSM2_CRUMB|SM2_CURRTREE,'<h2>[menu_title]</h2>','','','',false,false); ?>
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!!! Smiley

thanks for your time.
Artur
Logged
doc
Guest
« Reply #1 on: January 16, 2008, 04:22:41 PM »

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  smiley

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
Logged
shadowness

Offline Offline

Posts: 18


« Reply #2 on: January 16, 2008, 04:37:50 PM »

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!!
Logged
shadowness

Offline Offline

Posts: 18


« Reply #3 on: January 16, 2008, 04:47:36 PM »

about the menu.... i can display the menu_title by page_id, right??!?!? but i can figure out how to use it...
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!