Changeset 2828 in products


Ignore:
Timestamp:
Sep 17, 2010 8:41:35 AM (9 years ago)
Author:
mylan
Message:

#230: Added browserlayer and registered all sitemaps views and configlet view to it

Location:
quintagroup.plonegooglesitemaps/branches/migratioin_product/quintagroup/plonegooglesitemaps
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/branches/migratioin_product/quintagroup/plonegooglesitemaps/browser/configure.zcml

    r2517 r2828  
    1313      allowed_interface=".commonview.ISitemapView" 
    1414      permission="zope.Public" 
     15      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" 
    1516    /> 
    1617 
     
    2223      allowed_interface=".commonview.ISitemapView" 
    2324      permission="zope.Public" 
     25      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" 
    2426    /> 
    2527 
     
    3133      allowed_interface=".commonview.ISitemapView" 
    3234      permission="zope.Public" 
     35      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" 
    3336    /> 
    3437 
     
    3942      allowed_interface=".configletview.IConfigletSettingsView" 
    4043      permission="cmf.ManagePortal" 
     44      layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" 
    4145    /> 
    4246 
  • quintagroup.plonegooglesitemaps/branches/migratioin_product/quintagroup/plonegooglesitemaps/interfaces.py

    r2746 r2828  
    66 
    77from Products.DCWorkflow.interfaces import IAfterTransitionEvent 
     8from plone.browserlayer.interfaces import ILocalBrowserLayerType 
    89 
    910from quintagroup.plonegooglesitemaps import qPloneGoogleSitemapsMessageFactory as _ 
     
    1617class INewsSitemapProvider(Interface): 
    1718    """Marker interface for News sitemap provider.""" 
     19 
     20 
     21class IGoogleSitemapsLayer(ILocalBrowserLayerType): 
     22    """Marker interface that defines browser layer for the package.""" 
Note: See TracChangeset for help on using the changeset viewer.