I made a website with showmenu(2) with the YAML132SD template
It has two menu's: one first-level menu and one for the children.
I get error-logs with this kind of information:
[24-Nov-2007 09:31:55] show_menu2 error: no flags from group 1 supplied! Exactly one flag is required!
I made two calls:
<?php show_menu2(SM2_ALLMENU, SM2_ROOT, SM2_START); ?>
<?php show_menu2(SM2_ALLMENU, SM2_ROOT+1, SM2_CURR+1, SM2-SIBLING); ?>
Don't know what I did wrong. Please help.
Hans
SM2-SIBLING in the second call needs to be SM2_SIBLING
cheers
Klaus
Great, thanks Klaus!
Hans
Hi, I have the same error...
I'm using: <?php show_menu(1,1,1); ?> and <?php show_menu(1,2,1); ?> in a multilangual site...
I don't understand...
Is there a mistake and a solution???
Where do you get this error?
Anyway, some links to the Helpsite:
Mulitple Menus: http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php
Multilingual Websites: http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multilingual-websites.php
cheers
Klaus
Thanks,
It was only during the development; now the errors are not shown anymore in the error log. :-) It's working fine in six languages...