The second argument here tells whether this menu item is active or not.
Setting this to true adds the class=web2py-menu-active to the li of the
menu-item.
Unfortunately though, this class is not implemented by default in web2py,
and nor is the argument set to (request.function=='index') which
see https://groups.google.com/d/msg/web2py/Jc2qOVJ-Zws/yLzKdWb-y3cJ
Il giorno mercoledì 19 settembre 2012 17:55:09 UTC+2, lyn2py ha scritto:
Hi guys,
This is a typical code
response.menu = [
(T('Home'), False, URL('default','index'), [])
]
I would like to ask, what does the 2nd
Thanks Paolo!
On Thursday, September 20, 2012 1:40:16 AM UTC+8, Paolo Caruccio wrote:
see https://groups.google.com/d/msg/web2py/Jc2qOVJ-Zws/yLzKdWb-y3cJ
Il giorno mercoledì 19 settembre 2012 17:55:09 UTC+2, lyn2py ha scritto:
Hi guys,
This is a typical code
response.menu = [
3 matches
Mail list logo