seccond menu not showing

crnogorac081

Yeap, it was the third parameter in menu call,

it should be SM2_ALL|SM2_PRETTY instead SM2_TRIML|SM2_PRETTY and all works now  as expected :)

I was banging my head for 2 days about this.. :(

silly me
cheers
Web developer

Stefek

Hello Ivan,

I'd like to help you,
so I will try.

The problem with menus disapearing on preferences pages, search pages etc. is a know issue (I never understood if it should be considered somehow as an feature... :-D)

The another thing with your second menu (show_menu2(2))
As I see, the problem has to do with the TRIM flag in your menu call.
See here for instructions:
http://code.google.com/p/showmenu2/source/browse/tags/4.9/README.en.txt#303

Maybe this helps a little.

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

crnogorac081

does anyone have experience with this ?
Web developer

crnogorac081

Also, menu is dissapearing on preferences page..
Web developer

crnogorac081

Hi,

I am creating site with 2 menus:

menu1:
- Home
   -  Page1
   -  Page 2
   -  Page 3

Menu 2:
- Bottom
   -  Contact
   -  About us

Menus are defined in template and propertly checked in Pages.
Menu calls:

show_menu2( 1, SM2_ROOT+1, SM2_START, SM2_TRIM|SM2_PRETTY, '[li][a][menu_title]</a>', '</li>', '<ul>', '</ul>', '', '' );
and
show_menu2( 2, SM2_ROOT+1, SM2_START, SM2_TRIM|SM2_PRETTY, '[li][a][menu_title]</a>', '</li>', '<ul>', '</ul>', '', '' );


Problem is that seccond menu doesnt appear, unless I set start to SM2_ROOT (showing page: Bottom)

where the problem could be ? It is same from SVN 1459 ++

cheers,
Ivan
Web developer