You can create a layout_login.html and remove what you want...

In views/default/user.html replace layout.html by your layout_login.html

That it!

Richard

On Tue, Feb 10, 2015 at 9:13 AM, Simon Marshall <[email protected]>
wrote:

>
> Hi All,
>
> is there a way to hide the top menu until a person has logged in, i have a
> requirement that present a user just with a login page before the can do
> anything on the site.
>
> Any suggestion or pointer would be grateful.
>
> Thanks
>
> Simon
>
> --
> 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].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to