Am Dienstag, 30. Juni 2015 09:35:27 UTC+2 schrieb Massimo Di Pierro: > > I understand > > Use {{extend layout2.html}} then make a minimalist layout 2 that does not > include css, js, has no <html> and no <body> tag but only one div. At the > top of the layout use {{=MENU(wiki.menu())}} to generate the wiki menu > embedded. It will be returned via ajax. > Works! Thank You
> > On Monday, 29 June 2015 16:36:20 UTC-5, St. Pirsch wrote: >> >> >> >> >>> 1. What template means in this context is not layout template but >>> content template. You can start a new page with a copy of another page. >>> Pages have tags. All public pages with a "template" tag can be used as >>> templates for other pages. >>> >> This is a useful information, maybe it could be added in the book? >> >>> >>> 2. the should not. There is nothing in the page that contains style >>> information. The style is from the CSS of the host which you can edit. >>> >> Well, I was trying to implement particular wiki pages via {{LOAD}} in my >> other web2py views. Since I don't want to expose the index or the >> management features to the public, it gets a little bit tricky: In order to >> be able to use the list and edit features in a reasonable way, I have to >> put a style, i.e. {{extend 'layout.html}} in the wiki index view. When I >> load a wiki page 'Hallo' into another view outside the >> wiki, {{=LOAD('default','wiki', args='Hallo',ajax=False)}}, it's loaded >> with it's layout.html wrapper. It is a great feature to use wiki pages with >> it's oembed functionalties etc. in other views. >> But I don't get how assign a (different) design to the list and media >> pages then. >> >>> >>> On Monday, 29 June 2015 11:04:53 UTC-5, St. Pirsch wrote: >>>> >>>> Hi, >>>> I'am trying to get familiar with the auth.wiki, which I think is great >>>> to use for simple cms tasks. >>>> The documentation in the book is a bit short, a least from the >>>> perspective of a novice. I couldn't find much more information on >>>> auth.wiki >>>> here nor elsewhere. Maybe it would help other users too, to sum up some >>>> questions and best practice somewhere. >>>> In detail, I have two questions: >>>> 1. The editor offers a dropown for templates to choose from. >>>> - How can this field be populated, howhave the templates to be designed? >>>> 2. I am trying to LOAD wiki pages in other web2py-views. The wiki-pages >>>> take their styles with them, i.e. as defined in the standard wiki view. >>>> How >>>> to avoid that without removing the style from the wiki itself? >>>> Thanks, Stephan >>>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.