It should be easy to do... The specs are easy a layout plugin must
jave plugin
- name web2py.plugin.layout_<name>.w2p
- contain
views/layout.html
views//plugin_layouts/layouts/<name>.html (same as views/layout.html)
static/plugin_layouts/layouts/<name>/preview.png
static/plugin_layouts/layouts/<name>/index.html
static/plugin_layouts/layouts/<name>/* (all other css, js and images)
views/layout.html must include
{{include 'web2py_ajax.html'}}
{{=MENU(response.menu)}}
{{=auth.navbar()}}
{{=response.flash}}
{{include}}
That is all.
Massimo
On Oct 20, 8:57 pm, Anthony <[email protected]> wrote:
> There's also this:http://web2py.com/appliances/default/show/39
>
> On Oct 20, 9:48 pm, Anthony <[email protected]> wrote:
>
> > What about the ZenGarden plugin (http://web2py.com/zengarden) -- can/
> > should these be combined somehow?
>
> > On Oct 20, 9:04 pm, mdipierro <[email protected]> wrote:
>
> > >http://web2py.com/layouts
>
> > > I deleted a lot of the crappy layouts and fixed the good ones. Now
> > > they all support menus, navbar and flash.
> > > If you install one of them it will overwrite your layout.html
>
> > > Massimo- Hide quoted text -
>
> > - Show quoted text -
>
>