Ignore:
Timestamp:
Nov 5, 2009 2:48:47 PM (14 years ago)
Author:
mylan
Message:

Fix #109: Move importing zexps into separate profile, updated doctests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.themetemplate/trunk/quintagroup/themetemplate/README.txt

    r1360 r1363  
    669669    Recursing into profiles 
    670670    ... 
     671    Inserting from profiles.zcml_insert ... 
     672    ... 
    671673    Inserting from setuphandlers.py_insert into ... 
    672674    ... 
     
    675677   - 'import' directory was added into root of the theme 
    676678   - profiles stuff was updated 
     679   - profiles.zcml file is updated 
    677680   - some stuff into setuphandlers.py module was inserted 
    678681     
     
    684687 
    685688 
    686 2. import_steps.xml was added in profiles/default directory (if does not exist yet), 
     6892. import_steps.xml was added in profiles/import_zexps directory, 
    687690   which contains additional *quintagroup.theme.ploneexample.import_zexps* step. 
    688691 
    689     >>> 'import_steps.xml' in os.listdir('profiles/default') 
    690     True 
    691  
    692     >>> cat('profiles/default/import_steps.xml') 
    693     <?xml version="1.0"?> 
    694     <import-steps> 
     692    >>> 'import_zexps' in os.listdir('profiles') 
     693    True 
     694    >>> 'import_steps.xml' in os.listdir('profiles/import_zexps') 
     695    True 
     696 
     697    >>> cat('profiles/import_zexps/import_steps.xml') 
     698    <?xml version="1.0"?> 
    695699    ... 
    696700      <import-step id="quintagroup.theme.ploneexample.import_zexps" 
     
    698702                   handler="quintagroup.theme.ploneexample.setuphandlers.importZEXPs" 
    699703                   title="My Theme Name: Import zexps objects"> 
    700         <dependency step="skins" /> 
    701704        Import zexp objects into portal on My Theme Name theme installation 
    702705      </import-step> 
    703706    <BLANKLINE> 
    704     </import-steps> 
    705  
    706 3. Check setuphandlers.py module - there must be importZEXPs function defined 
     707    ... 
     708 
     7093. profiles.zcml configuration updated with new genericsetup profile for zexps 
     710   importing. 
     711 
     712    >>> cat('profiles.zcml') 
     713    <configure 
     714    ... 
     715      <genericsetup:registerProfile 
     716        name="import_zexps" 
     717        title="My Theme Name: Import ZEXPs" 
     718        directory="profiles/import_zexps" 
     719        description='Extension profile for importing objects of the "My Theme Name" Plone theme.' 
     720        provides="Products.GenericSetup.interfaces.EXTENSION" 
     721        /> 
     722    <BLANKLINE> 
     723    ... 
     724     
     7254. Check setuphandlers.py module - there must be importZEXPs function defined 
    707726 
    708727    >>> cat('setuphandlers.py') 
Note: See TracChangeset for help on using the changeset viewer.