[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1823: Undefined array key 19187
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1833: Trying to access array offset on value of type null
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 1833: Trying to access array offset on value of type null
CMS Made Simple Forums • bulletmenu and cssmenu bug?
Page 1 of 1

bulletmenu and cssmenu bug?

Posted: Tue Dec 13, 2005 3:08 am
by Hernan
I have this page structure:

1
2
2.1
2.1.1
2.1.2
2.2
2.3
.
.
.
2.10

When I set start_element='2.1' bulletmenu and cssmenu show:

2.1
  2.1.1
  2.1.2
2.10

But 2.10 shouldn't show up. I guess the algorythm is checking the numbers as strings and not as numbers. Or maybe I'm doing something wrong?

Hernán.

Re: bulletmenu and cssmenu bug?

Posted: Tue Dec 13, 2005 5:15 pm
by Ted
The logic is kind of weird.  It really needs to be redone.  Anyway, try: {bulletmenu start_element='2.1' show_root_siblings='0'}

Re: bulletmenu and cssmenu bug?

Posted: Wed Dec 14, 2005 6:41 am
by Hernan
With show_root_siblings='0' I still get the same menu.

Just to make it clear: the only sibling that shows is 2.10 (this is wrong), but 2.3, 2.4, etc. do not (and this is right, of course).

Re: bulletmenu and cssmenu bug?

Posted: Wed Dec 14, 2005 3:58 pm
by Ted
Ooooh....

That's a dumb bug.  I'll make a bug report.  Thanks!