Skip to content

Instantly share code, notes, and snippets.

@jaroel jaroel/site.zcml
Created Apr 4, 2016

Embed
What would you like to do?
Minimal site.zcml to make my Plone 5 instance running without z3c.autoinclude.
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" />
<include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" />
<!-- Load the meta -->
<include files="package-includes/*-meta.zcml" />
<five:loadProducts file="meta.zcml"/>
<!-- Load the configuration -->
<include files="package-includes/*-configure.zcml" />
<five:loadProducts />
<!-- Load the configuration overrides-->
<includeOverrides files="package-includes/*-overrides.zcml" />
<five:loadProductsOverrides />
<securityPolicy
component="AccessControl.security.SecurityPolicy" />
<include package="plone.app.intid" />
<include package="plone.app.relationfield" />
<include package="plone.app.dexterity" />
<include package="plone.app.event" />
<include package="plone.app.lockingbehavior" />
<include package="plone.app.versioningbehavior" />
<include package="plonetheme.barceloneta" />
</configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.