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.
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
2 matches
Mail list logo