source: products/quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/configure.zcml @ 1572

Last change on this file since 1572 was 1572, checked in by fenix, 14 years ago

initial package import

File size: 1.6 KB
RevLine 
[1572]1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
5    xmlns:plone="http://namespaces.plone.org/plone"
6    i18n_domain="plone">
7
8    <five:registerPackage package="." />
9
10    <include package=".browser" />
11
12    <genericsetup:registerProfile
13       name="default"
14       title="Quintagroup collection portlet"
15       directory="profiles/default"
16       description="A simple portlet that displays the results of a collection object"
17       provides="Products.GenericSetup.interfaces.EXTENSION"
18       />
19
20     <permission
21       id="quintagroup.portlet.collection.AddCollectionPortlet"
22       title="quintagroup.portlet.collection: Add collection portlet"
23       />
24 
25     <!-- Register the portlet -->
26     <plone:portlet
27         name="quintagroup.portlet.collection.Collection"
28         interface=".collection.IQCollectionPortlet"
29         assignment=".collection.Assignment"
30         view_permission="zope2.View"
31         edit_permission="quintagroup.portlet.collection.AddCollectionPortlet"
32         renderer=".collection.Renderer"
33         addview=".collection.AddForm"
34         editview=".collection.EditForm"
35         />
36
37     <utility
38       component=".vocabularies.PortletCSSVocabulary"
39       name="quintagroup.portlet.collection.vocabularies.PortletCSSVocabulary"
40       />
41     
42     <utility
43       component=".vocabularies.PortletAttributesVocabulary"
44       name="quintagroup.portlet.collection.vocabularies.PortletAttributesVocabulary"
45       />
46
47
48</configure>
Note: See TracBrowser for help on using the repository browser.