WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Showmenu2 help needed
Bramus:
Hi all,
Working on a new project and i'm in a fight with showmenu2. The page layout is:
--- Code: ---NL
Home
Bedrijf
Het bedrijf
Medewerkers
DE
Home
Betrieb
Das betrieb
Employees
--- End code ---
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:
--- Code: ---<?php show_menu2(1, 1, SM2_ALL,SM2_ALL); ?>
--- End code ---
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!
Pumpi:
please try this show menu 2 code
--- Code: ---show_menu2(1, 1, SM2_ALL,SM2_START+2);
--- End code ---
Bramus:
Nothing is shown now, no NL or DE menu
Pumpi:
:?
oh sorry i have an error in the code try please
--- Code: ---show_menu2(1, 1, SM2_START+2, SM2_ALL);
--- End code ---
Bramus:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version