I don't think bootstrap (which is what web2py utilises I think) allows for
the second nested level. So to do it you would need to implement your own
custom menu structure.

On Sat, 18 Jul 2020, 12:33 am Vlad, <[email protected]> wrote:

> Missing something basic, but seems to me that the following code should
> result in nested menu:
>
> response.menu = [['One', False, 'link1',
>                   [
>                     ['Two', False, None,
>                        ['Three', False, 'link3']
>                     ]
>                   ]
>                  ]
>                 ]
>
> "One" menu items contains "two", as it should, but "two" comes out to be a
> simple menu item, not containing "three" in it. What's missing?? How do I
> make nested sub-menu items?
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/8e2371ef-4b20-4369-86e0-1d1ebf911952o%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/8e2371ef-4b20-4369-86e0-1d1ebf911952o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CACWMBMPH458V35O1Jh%2BKto_Ed2HznYwOsL9wW1qh%2BRe-BP093Q%40mail.gmail.com.

Reply via email to