[web2py] Re: Multiple layouts

2011-03-14 Thread pbreit
You can even have: === layout.html === {{include}} === layout2.html === {{extend layout.html}} {{include}} === index.html === {{extend layout2.html}} {{block}}s can also be useful for varying layout elements.

[web2py] Re: Multiple layouts

2011-03-14 Thread DenesL
Hi & welcome, yes, you can have multiple layouts, just change the following line in your views {{extend 'layout.html'}} to something else e.g. {{extend 'layout2.html'}} On Mar 14, 10:30 am, Rupesh wrote: > Hi, > i am new at web2py. how i can use the multiple layouts within one > project? i w