WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Showmenu(2) error log
  • Print
Pages: [1]   Go Down

Author Topic: Showmenu(2) error log  (Read 11102 times)

Offline Hans

  • Posts: 914
  • Gender: Male
Showmenu(2) error log
« on: November 24, 2007, 07:41:54 AM »
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: [Select]
[24-Nov-2007 09:31:55] show_menu2 error: no flags from group 1 supplied! Exactly one flag is required!
I made two calls:
Code: [Select]
<?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
Logged
Hans - Nijmegen - The Netherlands

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Showmenu(2) error log
« Reply #1 on: November 24, 2007, 08:10:54 AM »
SM2-SIBLING in the second call needs to be SM2_SIBLING

cheers

Klaus
Logged

Offline Hans

  • Posts: 914
  • Gender: Male
Re: Showmenu(2) error log
« Reply #2 on: November 24, 2007, 06:58:24 PM »
Great, thanks Klaus!
Hans
Logged
Hans - Nijmegen - The Netherlands

Offline keesweb

  • Posts: 15
Re: Showmenu(2) error log
« Reply #3 on: February 18, 2008, 03:01:56 PM »

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???
Logged
keesweb.nl - leur - the netherlands

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Showmenu(2) error log
« Reply #4 on: February 20, 2008, 05:50:55 PM »
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
Logged

Offline keesweb

  • Posts: 15
Re: Showmenu(2) error log
« Reply #5 on: February 21, 2008, 09:04:40 AM »
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...
Logged
keesweb.nl - leur - the netherlands

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Showmenu(2) error log
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2