[web2py] response.menu + HTML5 attributes

2016-12-04 Thread lyn2py
Hello guys! Long time no see :) With HTML5 attributes being widely used, I thought I could add one to the response.menu I tried but it didn't work, I appreciate help and pointers! =) This is the current response.menu generated HTML (specifically, the *first* ul): ... ... ... This is the

[web2py] response.menu will not display an image

2015-06-17 Thread jackson . read
This does not work. No image is displayed. The layout seems to lose it too, the response menu now has 2 rows this causes things to be obscured by it. Should I be trying this at all? If the menu was designed for text only ok but put it in the Docs. This was the only change I did to the

[web2py] response.menu URLs

2013-05-07 Thread Monte Milanuk
So... I have a couple functions defined in default.py: @auth.requires_login() def index(): response.flash = T('Welcome!') grid = SQLFORM.grid(db.project, create=False, fields=[db.project.name, db.project.employee_name, db.project.company_name,

[web2py] response.menu links alt attribute and target=blank

2013-04-14 Thread BlueShadow
Hi, I like to be able to set some link attributes in my response menu: I want some links to open in a new tab: target=blank and I would love to set some alt atributes for the links in the response menu. Is that even possible? thanks -- --- You received this message because you are subscribed

[web2py] response.menu links title tag

2013-04-04 Thread BlueShadow
Hi, when I add normal links to a site I use the A() helper where I can add a title tag (_title=) is there a way to add those to my links in the response menu? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group

[web2py] response.menu args

2012-09-19 Thread lyn2py
Hi guys, This is a typical code response.menu = [ (T('Home'), False, URL('default','index'), []) ] I would like to ask, what does the 2nd arg, False actually refer to? I tried changing it to True but it didn't seem to have any effect on the menu. I tried a quick search on the manual and

[web2py] response.menu problem

2012-06-28 Thread Annet
In menu.py I have the following code: response.cms_menu = [['Home',request.controller=='cms' and request.function=='index',URL('cms','index')]] def adjustCmsMenu(): if session.cmsadmin_menu:

[web2py] response.menu issue

2012-05-20 Thread Frank
hi,all, hope get help from you, {{=('|'.join(A(_[0],_href=_[2]).xml() for _ in response.menu))}} suppose to be several links on webpage, but it appear to be string on my app, how to change it? thanks, Frank

Re: [web2py] response.menu with bootstrap dropdown menu

2012-03-08 Thread Martín Mulone
The menu helper (web2py) is not compatible with twitter bootstrap menu. 2012/3/7 Paolo ilva...@inventati.org Hi all, I have a simple problem that I haven't solved yet. Using the twitter bootstrap theme I am not able to create a dropdown menu playing with the MENU helper. According to [1], an

[web2py] response.menu with bootstrap dropdown menu

2012-03-07 Thread Paolo
Hi all, I have a simple problem that I haven't solved yet. Using the twitter bootstrap theme I am not able to create a dropdown menu playing with the MENU helper. According to [1], an anchor to create the dropdown menu needs the attributed data-toggle equal to dropdown; the problem is that I

[web2py] response.menu in web2py

2011-05-11 Thread sheM
I have a scenario where there are 2 methods. A and B A uses form1 and B uses form2 Now, I need to pass a dynamic value of a variable from A( using form1 ) to B . I want to pass this variable to a menu item. Once the menu is clicked that particular form should have my dynamic variable. Is there

[web2py] response.menu

2011-01-09 Thread Nathan George
I'm new to web2py and trying to set up my site from the beginning. I was trying to customize my menu, and couldn't find any relevant documentation on response.menu. For example, in the code: response.menu = [ (T('Home'), False, URL(request.application,'default','index'), []) ] what is