Ignore:
Timestamp:
Apr 15, 2009 5:08:17 PM (15 years ago)
Author:
koval
Message:

retrieving of tags moved from portlet renderer to adapters and added Quills support

Location:
quintagroup.portlet.cumulus/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.portlet.cumulus/trunk

    • Property svn:ignore set to
      *.pyc
      *~
      *.egg-info

  • quintagroup.portlet.cumulus/trunk/quintagroup/portlet/cumulus/configure.zcml

    r1035 r1036  
    55    xmlns:plone="http://namespaces.plone.org/plone" 
    66    xmlns:browser="http://namespaces.zope.org/browser" 
     7    xmlns:zcml="http://namespaces.zope.org/zcml" 
    78    i18n_domain="quintagroup.portlet.cumulus"> 
    89 
     
    4243        /> 
    4344 
     45    <!-- Register tags retriever adapters --> 
     46    <adapter 
     47        for="Products.Archetypes.interfaces.IBaseObject" 
     48        provides=".interfaces.ITagsRetriever" 
     49        factory=".catalog.GlobalTags" 
     50        /> 
     51 
     52    <adapter 
     53        for="Products.CMFPlone.interfaces.IPloneSiteRoot" 
     54        provides=".interfaces.ITagsRetriever" 
     55        factory=".catalog.GlobalTags" 
     56        /> 
     57 
     58    <configure zcml:condition="installed quills.core"> 
     59        <!-- tags retrievers for Quills blog --> 
     60        <adapter 
     61            for="quills.core.interfaces.IBaseContent" 
     62            provides=".interfaces.ITagsRetriever" 
     63            factory=".blog.QuillsBlogTags" 
     64            /> 
     65 
     66        <adapter 
     67            for="quills.core.interfaces.IWeblogEnhanced" 
     68            provides=".interfaces.ITagsRetriever" 
     69            factory=".blog.QuillsBlogTags" 
     70            /> 
     71 
     72        <adapter 
     73            for="quills.core.interfaces.IPossibleWeblogEntry" 
     74            provides=".interfaces.ITagsRetriever" 
     75            factory=".blog.QuillsBlogTags" 
     76            /> 
     77 
     78    </configure> 
     79 
    4480</configure> 
Note: See TracChangeset for help on using the changeset viewer.