Just for fun: http://web2py.com/zengarden
then click on the [zengarden] link under the menu, under the "index" link. You can change the skin per user, per session. This is a bare bone welcome app with the layout http://web2py.com/zengarden/static/layout.html Problem: all zengarden layouts hardcode text in images for each skin. This makes them not as general as we need them. It makes it more of a proof of concept than a useful tool unfortunately. Other problem: some layouts are broken because assume a few divs that we do not have. Massimo On Mar 20, 7:18 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > Well... the quickest way to change layouts is to store the > configuration in the database... > > So have a table for web2py meta information, that contains > "current_layout" which is value is "layout.html" or "mynewlayout.html" > etc etc. > > In all views instead of {{ extend "layout.html" }} it will be {{ > extend current_layout }}. Then do the same with the CSS as well. > > {{ response.files.append(my_current_css) }} > > Cache these variables in RAM to save from un-necessary dbio > > -Thadeus > > On Sat, Mar 20, 2010 at 5:11 PM, Yarko Tymciurak > > <resultsinsoftw...@gmail.com> wrote: > > Having said this, the zengarden shows how to accomplish some standard > > naming, and now to switch css to affect things.... > > > That by itself is quite useful - and worth (for me at least) more > > closely... > > > On Mar 20, 1:53 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > >> I envision having an app create wizard, you select a layout (based on > >> ez-css), and then select a skin for the layout. :) > > >> -Thadeus > > >> On Sat, Mar 20, 2010 at 1:50 PM, mr.freeze <nat...@freezable.com> wrote: > >> > I think the ability to select a skin when creating an app would be a > >> > major plus and help kick-start development for the design-impaired > >> > such as myself. > > >> > On Mar 20, 1:32 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > >> >> I just came across this: > > >> >> http://www.csszengarden.com/ > > >> >> It is one simple html layout (only divs) with 210 PURE CSS skins: > > >> >> http://www.mezzoblue.com/zengarden/alldesigns/ > > >> >> This could be an option for the welcome app. If we use their html, it > >> >> would be trivial to add a small admin option that downloads a team to > >> >> zengarden and applies to skin. Options that require overriding the > >> >> HTML are more complex to handle. > > >> >> What do you think? > > >> >> Massimo > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "web2py-users" group. > >> > To post to this group, send email to web...@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> > web2py+unsubscr...@googlegroups.com. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/web2py?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.