lol,
splitting views/plugin_layout_themename in two and putting something
like this in views/layout.html works great if you need a quick hack...
{{include 'plugin_layout_voa/top_layout.html'}}
{{include}}
{{include 'plugin_layout_voa/bottom_layout.html'}}
Cheers
Chris
On Aug 13, 4:08 pm, Christopher Steel <[email protected]> wrote:
> Gee wiz I posted the wrong link to the Web2py manual, here is the
> correct reference...
>
> http://web2py.com/book/default/chapter/13?search=plugin#Layout-plugins
>
> C
>
> On Aug 13, 4:03 pm, Christopher Steel <[email protected]> wrote:
>
> > I created a layout plugin using the instructions in the live Web2py
> > book (http://web2py.com/book/default/chapter/05#Page-Layout) and
> > noticed that the {{include}} no longer functions as well as login
> > register and other links.
>
> > By removing the ((extends }} statement in default/index.html you can
> > get the index.html content but this way seems to require that you
> > create new user forms as well (and perhaps others) as they stop
> > working even though they appear to point to the correct URL.
>
> > Does anyone know of a good way to rewrite the include in the
> > plugin_layout_theme/layout.html file that would allow these links to
> > continue working?
>
> > Thanks,
>
> > Chris