Skip to content

Instantly share code, notes, and snippets.

@fulv
Created November 5, 2014 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fulv/03a43c4989c7e413cf94 to your computer and use it in GitHub Desktop.
Save fulv/03a43c4989c7e413cf94 to your computer and use it in GitHub Desktop.
configure.zcml
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:cmf="http://namespaces.zope.org/cmf"
i18n_domain="plonesocial.network">
<five:registerPackage package="." initialize=".initialize" />
<i18n:registerTranslations directory="locales" />
<include package=".browser" />
<genericsetup:registerProfile
name="default"
title="PloneSocial Network"
directory="profiles/default"
description="Installs the plonesocial.network package"
provides="Products.GenericSetup.interfaces.EXTENSION"
i18n:attributes="title; description"
/>
<genericsetup:registerProfile
name="uninstall"
title="PloneSocial Network Uninstall"
directory="profiles/uninstall"
description="Uninstalls the plonesocial.network package"
provides="Products.GenericSetup.interfaces.EXTENSION"
i18n:attributes="title; description"
/>
</configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment