Created
April 4, 2016 20:21
-
-
Save jaroel/69607863bbc9125df3aed0184c936ef2 to your computer and use it in GitHub Desktop.
Minimal site.zcml to make my Plone 5 instance running without z3c.autoinclude.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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