Thanks for blocks - that work, this is similar to modules in joomla, I can
write small block and get content on specific place at layout.

I tray to use next code:
response <http://web2py.com/book/default/docstring/response>.menu =
[('Google', False, 'http://www.google.com',[]),
                 ('Index',  True,  URL
<http://web2py.com/book/default/docstring/URL>('index'), [])]

but without any success.
I reed in book that mentioned code I must put in controller but how to get
same than in layout and does in controller I must use definition or haw.


- - Miroslav Gojic - -



On Thu, Oct 6, 2011 at 23:12, pbreit <pbreitenb...@gmail.com> wrote:

> Generally you only need one include, {{include}}, which is going to
> incorporate the content from your view.
>
> But you can also use include to specify another view file to incorporate:
> http://web2py.com/book/default/chapter/05#Page-Layout
>
> Example: {{include 'page.html'}}
>
> You also might check out "blocks":
> http://web2py.com/book/default/chapter/05#Blocks-in-Views
>
>
>

Reply via email to