Showmenu2 help needed

Pumpi

ah ok that was the problem ;)

but not for pain only for learn :D
My Module for WebsiteBaker - Foldergallery 1.17

Bramus

Used the code from luckyluke and gave all the pages their correct language (damn what a work ~150 pages)

Thanks for the help!
BRAMUS Internet Services

Pumpi

i see its run :D

what is finaly the sm2 code?
My Module for WebsiteBaker - Foldergallery 1.17

Bramus

Quote from: Luckyluke on August 11, 2009, 02:27:15 PM
Hi,

On my site with 3 languages I did the folowing:

show_menu2(0, SM2_ROOT+1, SM2_ALL, SM2_ALL, .................

But, languages must be ON in the settings.

Grtz,
Luc

Turned languages on and used you showmenu but same as above, showing all the menu's on all the languages.
BRAMUS Internet Services

Luckyluke

Hi,

On my site with 3 languages I did the folowing:

show_menu2(0, SM2_ROOT+1, SM2_ALL, SM2_ALL, .................

But, languages must be ON in the settings.

Grtz,
Luc

Bramus

#7
Done and now it is showing all menu's in all languages fully, so NL showing all menu's, NL + DE.

When in DE it is also showing NL + DE
BRAMUS Internet Services

Pumpi

ok nice :) one step ;)

try

show_menu2(1, SM2_ROOT+1, SM2_START+2, SM2_ALL);
My Module for WebsiteBaker - Foldergallery 1.17

Bramus

#5
now the dropdown is working, but on every page it is showing the NL subpages instead of the german pages. so what ever language i chose i will get a dutch menu.
BRAMUS Internet Services

Pumpi

:?

oh sorry i have an error in the code try please

show_menu2(1, 1, SM2_START+2, SM2_ALL);
My Module for WebsiteBaker - Foldergallery 1.17

Bramus

Nothing is shown now, no NL or DE menu
BRAMUS Internet Services

Pumpi

please try this show menu 2 code

show_menu2(1, 1, SM2_ALL,SM2_START+2);
My Module for WebsiteBaker - Foldergallery 1.17

Bramus

#1
Hi all,

Working on a new project and i'm in a fight with showmenu2. The page layout is:

NL
 Home
 Bedrijf
   Het bedrijf
   Medewerkers
DE
 Home
 Betrieb
   Das betrieb
   Employees


So multilangual NL / DE and then a few items, those items contain subitems. These subitems on Bedrijf or Betrieb are shown with a dropdown. Now the problem; i want to make sure people dont have to click on Bedrijf/Betrieb to show the dropdown. When working with:

<?php show_menu2(11SM2_ALL,SM2_ALL); ?>

it did show in the NL pages everything fine, but when i added some german pages it didnt work, no menu was shown.

Any one that can help me with this?

So as you can see when you click Bedrijf you will see the drop down menu but i want it to be visible all the time when hovering.

Thanks!
BRAMUS Internet Services