[web2py] Re: response.menu args

2013-04-17 Thread Robin Manoli
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

[web2py] Re: response.menu args

2012-09-19 Thread Paolo Caruccio
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

[web2py] Re: response.menu args

2012-09-19 Thread lyn2py
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 = [