Changeset 1258

Show
Ignore:
Timestamp:
04/16/08 18:59:59 (8 months ago)
Author:
sgillies
Message:

First profile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pleiades.policy/trunk/pleiades/policy/__init__.py

    r1256 r1258  
     1# 
     2 
     3def initialize(context): 
     4    """Intializer called when used as a Zope 2 product.""" 
  • pleiades.policy/trunk/pleiades/policy/configure.zcml

    r1256 r1258  
    11<configure 
    2     xmlns="http://namespaces.zope.org/zope" 
    3     xmlns:five="http://namespaces.zope.org/five" 
    4     i18n_domain="pleiades.policy"> 
     2  xmlns="http://namespaces.zope.org/zope" 
     3  xmlns:five="http://namespaces.zope.org/five" 
     4  xmlns:genericsetup="http://namespaces.zope.org/genericsetup" 
     5  i18n_domain="pleiades.policy"> 
    56 
     7  <five:registerPackage package="." initialize=".initialize" /> 
     8     
     9  <genericsetup:registerProfile 
     10    name="default" 
     11    title="Pleiades Site Policy" 
     12    directory="profiles/default" 
     13    description="Turn a Plone site into the Pleiades site." 
     14    provides="Products.GenericSetup.interfaces.EXTENSION" 
     15    /> 
    616 
    717</configure>