WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show menu and content for each node
  • Print
Pages: [1]   Go Down

Author Topic: show menu and content for each node  (Read 9772 times)

shadowness

  • Guest
show menu and content for each node
« 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: [Select]
<?php show_menu2(0, SM2_ROOT, SM2_MAX, SM2_CRUMB|SM2_CURRTREE,&#39;<h2>[menu_title]</h2>&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,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!!! :)

thanks for your time.
Artur
Logged

doc

  • Guest
Re: show menu and content for each node
« 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  :-)

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

  • Guest
Re: show menu and content for each node
« 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

  • Guest
Re: show menu and content for each node
« 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

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show menu and content for each node
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2