> Would you wrap something like this example (from the slice) in an if 
> clause ?  Or, I imagine you could use this scenario for boilerplate text in 
> your view for all web pages, with slugs like "header", "footer", 
> "standard_text".  
>
> content = db(db.wiki_page.slug=="index").select().first().body
>
>
That's an interesting way of using wiki (CMS like I suppose)  but I belive 
the feature was not intended for it. Wikis are wrapped inside web2py 
actions and AFAIK there is no connection between wiki indexes, body, etc 
and the standard url/page blocks structure provided by the scaffolding app, 
except the naming convention adopted. However, I think that auth.wiki could 
be used that way, but perhaps it should be implemented outside the standard 
distribution as a plugin (something like a wikipress).

Accessing the wiki tables can be used , i.e., for user defined mantainance 
routines or custom content management user interfaces.

-- 



Reply via email to