WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Showmenu(2) error log
Hans:
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:
--- Code: ---[24-Nov-2007 09:31:55] show_menu2 error: no flags from group 1 supplied! Exactly one flag is required!
--- End code ---
I made two calls:
--- Code: ---<?php show_menu2(SM2_ALLMENU, SM2_ROOT, SM2_START); ?>
<?php show_menu2(SM2_ALLMENU, SM2_ROOT+1, SM2_CURR+1, SM2-SIBLING); ?>
--- End code ---
Don't know what I did wrong. Please help.
Hans
kweitzel:
SM2-SIBLING in the second call needs to be SM2_SIBLING
cheers
Klaus
Hans:
Great, thanks Klaus!
Hans
keesweb:
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???
kweitzel:
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
Navigation
[0] Message Index
[#] Next page
Go to full version