that is is precisely...

The current recommended way of creating layout plugins works fine when 
installing plugins but does leave you "naked" if you decide to uninstall all 
layout plugins or uninstall the last  layout plugin installed.

To get a better understanding of why this is true you can see the web2py 
manual or examine the contents of a layout plugin (basically a tar archive) 
:

http://www.web2py.com/book/default/chapter/13?search=layout+plugin#Layout-plugins

In a nutshell, many layout plugins (all of them?) overwrite 
views/layout.html or recommend that views/layout.html be replaced with the 
following content:

{{extend 'plugin_layout_name/layout.html'}}
{{include}}


So restoring your original views/layout.html will give you your original 
layout again.

Alternatively you could create a layout plugin that installs your original 
views/layout.html (or even the entire default theme) for the version of 
Web2py you used to create the application or your own custom version.


Chris

Reply via email to