Hi Dave,
It's *mostly* doable... you can set up permissions to do what you want by creating a separate group for each admin user, and giving that group add, edit and publish permission on the root page of their own site. You'd probably also want to give them 'add' permission (but not 'change' or 'delete') on images and documents, which gives them edit rights over the ones they've uploaded, and nobody else's.
Having different templates per site would need a bit of custom coding... by default, all the page types you define (e.g. BlogPost) are available globally, and each page type corresponds to one template file. Assuming your data model is the same across all sites (that is, a BlogPost on site A would consist of the same fields as a BlogPost on site B) you could achieve this by defining one common BlogPost class for all sites, with a bit of logic to switch the base template depending on whereabouts the page is within the tree. Roughly speaking, it would go something like:
class BlogPost(Page):
body = RichTextField()
# other field definitions here...
def base_template(self):
if self.url_path.startswith('/site-a/'):
return "layouts/site_a.html"
elif self.url_path.startswith('/site-b/'):
return "layouts/site_b.html"
else:
return "layouts/site_c.html"
and at the top of blog_post.html:
{% extends self.base_template %}
Cheers,
- Matthew
> --
> You received this message because you are subscribed to the Google Groups "Wagtail" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wagtail+u...@googlegroups.com.
> To post to this group, send email to
wag...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/wagtail.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/wagtail/edc35dfe-e0cf-4e59-80c0-743e32c7998f%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.