Re: [web2py] auth.settings.actions_disabled.append('register')
What about removing this: {{=T('Sign up')}} from layout.html? On March 11, 2018 at 4:42:52, Andrea Fae' (and...@gmail.com) wrote: Sometimes problems arises. I need to eliminate "sign up" menu item from LOGIN but nevertheless I inserted this line auth.settings.actions_disabled.append('register') or this auth.settings.actions_disabled = ['register'] in the db.py I can see the item in the menu, and when I click I see "404 NOT FOUND" page. One time only this line could delete this menu item. Do I forgot anything? Thanks -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Updating the default template
When I was learning web2py, I watched Massimo's DePaul course videos. I could have sworn that there was a place in there where he mentioned how to update the welcome app and save things so that those changes are reflected in new apps that are created, but I can't find it again. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Search box in navbar in defaut layout.html
What is the purpose and usage of the Search box displayed in the navbar when using the default layout.html? Here's the code in layout.html: Thanks. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] auth.settings.actions_disabled.append('register')
Sometimes problems arises. I need to eliminate "sign up" menu item from LOGIN but nevertheless I inserted this line auth.settings.actions_disabled.append('register') or this auth.settings.actions_disabled = ['register'] in the db.py I can see the item in the menu, and when I click I see "404 NOT FOUND" page. One time only this line could delete this menu item. Do I forgot anything? Thanks -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.