WebsiteBaker Support (2.8.x) > Templates, Menus & Design

[SOLVED] - Multilingual website with show_menu2() - Kirk's solution not working

<< < (2/2)

Stefek:
Hallo,

there is also a problem with the structure of your pages in backend:


--- Quote ---- EN (Main navigation root level) (rem: menu link to HOME)
- - HOME (Main navigation level1 subpage of EN)
- - - WEB DESIGN  (Main navigation level 2 subpage of HOME)
- - - PORTFOLIO (Main navigation level 2 subpage of HOME)
- - - PROFILE (Main navigation level 2 subpage of HOME)
- - - CONTACT (Main navigation level 2 subpage of HOME)
--- End quote ---

Home, Webdesign, portfolio etc. should be at the same LEVEL like


--- Code: ---- EN (Main navigation root level) (rem: menu link to HOME)
- - HOME (Main navigation level1 subpage of EN)
- - WEB DESIGN  (Main navigation level 2 subpage of HOME)
- - PORTFOLIO (Main navigation level 2 subpage of HOME)
- - PROFILE (Main navigation level 2 subpage of HOME)
- - CONTACT (Main navigation level 2 subpage of HOME)

--- End code ---

For better understanding: EN, DE, FR are all at the same level
=> in Show_Menu2 it is equivalent to 'SM2_ROOT'

In show_menu2 'SM2_ROOT+1' means that you are 1 level higher than SM2_ROOT.

- EN =>  'SM2_ROOT'
- - HOME =>  'SM2_ROOT+1'
- - WEB DESIGN =>  'SM2_ROOT+1'
- - PORTFOLIO =>  'SM2_ROOT+1'
- - PORTFOLIO =>  'SM2_ROOT+1'
- - - PORTFOLIO WEB =>  'SM2_ROOT+2'
- - - PORTFOLIO PRINT =>  'SM2_ROOT+2'
- - PROFILE =>  'SM2_ROOT+1'
- - CONTACT=> 'SM2_ROOT+1'
First thing you will need to change is:
set the pages at the same level.
Than in SM2 menu call use SM2_ROOT+X (depending on your structure).

I hope this hint helps.

Regards,
Stefek


LordDarkman:
Hi Kami,
Please read the docu for multilangual at http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multilingual-websites.php and then look at the sm2 doku http://websitebakers.de/sm2/
with this 2 it should be able for you to set up a multilangual page.

CU Moritz

Kami:
Thank you LordDarkman and Stefek, I am carefully looking at every document to find a solution to the issue.

Kami

Navigation

[0] Message Index

[*] Previous page

Go to full version