[1003] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
| 3 | xmlns:five="http://namespaces.zope.org/five" |
---|
[1043] | 4 | xmlns:i18n="http://namespaces.zope.org/i18n" |
---|
[1003] | 5 | xmlns:genericsetup="http://namespaces.zope.org/genericsetup" |
---|
| 6 | xmlns:plone="http://namespaces.plone.org/plone" |
---|
| 7 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
[1036] | 8 | xmlns:zcml="http://namespaces.zope.org/zcml" |
---|
[1003] | 9 | i18n_domain="quintagroup.portlet.cumulus"> |
---|
| 10 | |
---|
| 11 | <five:registerPackage package="." initialize=".initialize" /> |
---|
| 12 | |
---|
[1043] | 13 | <i18n:registerTranslations directory="locales" /> |
---|
| 14 | |
---|
[1003] | 15 | <include package="plone.app.portlets" /> |
---|
| 16 | |
---|
| 17 | <genericsetup:registerProfile |
---|
| 18 | name="default" |
---|
[1038] | 19 | title="Tag cloud (cumulus) portlet" |
---|
[1003] | 20 | directory="profiles/default" |
---|
| 21 | description="This package allows you to display your site's tags using a Flash movie that rotates them in 3D. This is a ported to Plone WordPress WP-Cumulus plugin." |
---|
| 22 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
| 23 | /> |
---|
| 24 | |
---|
| 25 | <!-- Register the portlet --> |
---|
| 26 | |
---|
| 27 | <plone:portlet |
---|
| 28 | name="quintagroup.portlet.cumulus.CumulusPortlet" |
---|
| 29 | interface=".cumulusportlet.ICumulusPortlet" |
---|
| 30 | assignment=".cumulusportlet.Assignment" |
---|
| 31 | view_permission="zope2.View" |
---|
| 32 | edit_permission="cmf.ManagePortal" |
---|
| 33 | renderer=".cumulusportlet.Renderer" |
---|
| 34 | addview=".cumulusportlet.AddForm" |
---|
| 35 | editview=".cumulusportlet.EditForm" |
---|
| 36 | /> |
---|
| 37 | |
---|
| 38 | <browser:resource |
---|
| 39 | name="tagcloud.swf" |
---|
| 40 | file="tagcloud.swf" |
---|
| 41 | /> |
---|
| 42 | |
---|
| 43 | <browser:resource |
---|
| 44 | name="swfobject.js" |
---|
| 45 | file="swfobject.js" |
---|
| 46 | /> |
---|
| 47 | |
---|
[1036] | 48 | <!-- Register tags retriever adapters --> |
---|
[1038] | 49 | <!-- default tags retriever that works everywhere --> |
---|
[1036] | 50 | <adapter |
---|
[1038] | 51 | for="*" |
---|
[1036] | 52 | provides=".interfaces.ITagsRetriever" |
---|
| 53 | factory=".catalog.GlobalTags" |
---|
| 54 | /> |
---|
| 55 | |
---|
| 56 | <configure zcml:condition="installed quills.core"> |
---|
| 57 | <!-- tags retrievers for Quills blog --> |
---|
| 58 | <adapter |
---|
| 59 | for="quills.core.interfaces.IBaseContent" |
---|
| 60 | provides=".interfaces.ITagsRetriever" |
---|
| 61 | factory=".blog.QuillsBlogTags" |
---|
| 62 | /> |
---|
| 63 | |
---|
| 64 | <adapter |
---|
| 65 | for="quills.core.interfaces.IWeblogEnhanced" |
---|
| 66 | provides=".interfaces.ITagsRetriever" |
---|
| 67 | factory=".blog.QuillsBlogTags" |
---|
| 68 | /> |
---|
| 69 | |
---|
| 70 | <adapter |
---|
| 71 | for="quills.core.interfaces.IPossibleWeblogEntry" |
---|
| 72 | provides=".interfaces.ITagsRetriever" |
---|
| 73 | factory=".blog.QuillsBlogTags" |
---|
| 74 | /> |
---|
| 75 | |
---|
| 76 | </configure> |
---|
| 77 | |
---|
[1003] | 78 | </configure> |
---|