Last change
on this file since 1488 was
1244,
checked in by koval, 15 years ago
|
changed behaviour of manifest importer and maked more descriptive product name
|
File size:
867 bytes
|
Line | |
---|
1 | # register our extension profile if we have GenericSetup (Plone 2.5 or later) |
---|
2 | try: |
---|
3 | # if we have GenericSetup product we don't need to register steps in python |
---|
4 | import os |
---|
5 | from Products.GenericSetup import EXTENSION |
---|
6 | from Products.GenericSetup import profile_registry |
---|
7 | from Products.CMFPlone.interfaces import IPloneSiteRoot |
---|
8 | |
---|
9 | profile_path = os.path.join(os.path.split(__file__)[0], 'profiles/default') |
---|
10 | profile_registry.registerProfile( |
---|
11 | name="default", |
---|
12 | title="quintagroup.transmogrifier.simpleblog2quills (enables Large Plone Folder)", |
---|
13 | description="Extension profile for applying settings needed to migrate blog.", |
---|
14 | path=profile_path, |
---|
15 | product="quintagroup.transmogrifier.simpleblog2quills", # this is required |
---|
16 | profile_type=EXTENSION, |
---|
17 | for_=IPloneSiteRoot |
---|
18 | ) |
---|
19 | |
---|
20 | except ImportError: |
---|
21 | pass |
---|
Note: See
TracBrowser
for help on using the repository browser.