[285] | 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 | xmlns:i18n="http://namespaces.zope.org/i18n" |
---|
| 7 | i18n_domain="quintagroup.portlet.static"> |
---|
| 8 | |
---|
| 9 | <five:registerPackage package="." initialize=".initialize" /> |
---|
| 10 | |
---|
| 11 | <i18n:registerTranslations directory="locales" /> |
---|
| 12 | |
---|
[616] | 13 | <include package=".browser" /> |
---|
| 14 | |
---|
[285] | 15 | <genericsetup:registerProfile |
---|
| 16 | name="default" |
---|
| 17 | title="Static Stylish portlet" |
---|
| 18 | directory="profiles/default" |
---|
| 19 | description="Static portlet with one extra styling field" |
---|
| 20 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
| 21 | /> |
---|
| 22 | |
---|
| 23 | <!-- Register the portlet --> |
---|
| 24 | |
---|
| 25 | <!-- If the portlet has no configurable parameters, you can remove |
---|
| 26 | the EditForm declaration in staticstylishportlet.py and delete |
---|
| 27 | the 'editview' attribute from this statement. |
---|
| 28 | --> |
---|
| 29 | |
---|
[327] | 30 | <include package="plone.app.portlets" /> |
---|
| 31 | |
---|
[285] | 32 | <plone:portlet |
---|
| 33 | name="quintagroup.portlet.static.StaticStylishPortlet" |
---|
| 34 | interface=".staticstylishportlet.IStaticStylishPortlet" |
---|
| 35 | assignment=".staticstylishportlet.Assignment" |
---|
| 36 | view_permission="zope2.View" |
---|
| 37 | edit_permission="cmf.ManagePortal" |
---|
| 38 | renderer=".staticstylishportlet.Renderer" |
---|
| 39 | addview=".staticstylishportlet.AddForm" |
---|
| 40 | editview=".staticstylishportlet.EditForm" |
---|
| 41 | /> |
---|
| 42 | |
---|
| 43 | <!-- Register the vocabularies --> |
---|
| 44 | <utility |
---|
| 45 | component=".vocabularies.PortletCSSVocabulary" |
---|
| 46 | name="quintagroup.portlet.static.vocabularies.PortletCSSVocabulary" |
---|
| 47 | /> |
---|
| 48 | |
---|
| 49 | </configure> |
---|