bugfix.
[Plinn.git] / overrides.zcml
index 29b6177..3c01665 100644 (file)
@@ -4,4 +4,21 @@
         provides="Products.PageTemplates.interfaces.IUnicodeEncodingConflictResolver"
         component="Products.PageTemplates.unicodeconflictresolver.ReplacingUnicodeEncodingConflictResolver"
         />
         provides="Products.PageTemplates.interfaces.IUnicodeEncodingConflictResolver"
         component="Products.PageTemplates.unicodeconflictresolver.ReplacingUnicodeEncodingConflictResolver"
         />
+    <adapter
+        for="AccessControl.interfaces.IUser
+             Products.CMFCore.interfaces.IMemberDataTool"
+        provides="Products.CMFCore.interfaces.IMember"
+        factory="Products.Plinn.MemberDataTool.MemberAdapter"
+        />
+    <adapter
+        for="Products.CMFCore.interfaces.ICatalogAware
+             Products.CMFCore.interfaces.ICatalogTool"
+        provides="Products.CMFCore.interfaces.IIndexableObject"
+        factory=".catalog_adapters.PlinnIndexableObjectWrapper" />
+    <adapter
+        for="zope.publisher.interfaces.http.IHTTPRequest"
+        provides="zope.i18n.interfaces.IUserPreferredLanguages"
+        factory=".userlanguages.AuthenticatedUserLanguages"
+        />
+    
 </configure>
 </configure>