Last change
on this file was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
File size:
848 bytes
|
Rev | Line | |
---|
[1] | 1 | from Products.Archetypes.public import * |
---|
| 2 | from Products.CMFCore import utils |
---|
| 3 | from Products.CMFCore.DirectoryView import registerDirectory |
---|
| 4 | from config import * |
---|
| 5 | |
---|
| 6 | from ClickTracker import ClickTracker |
---|
| 7 | |
---|
| 8 | registerDirectory(SKINS_DIR, GLOBALS) |
---|
| 9 | |
---|
| 10 | tools=(ClickTracker,) |
---|
| 11 | |
---|
| 12 | def initialize(context): |
---|
| 13 | utils.ToolInit(PROJECTNAME, |
---|
| 14 | tools=tools, |
---|
| 15 | product_name=PROJECTNAME, |
---|
| 16 | icon= "tool.gif", |
---|
| 17 | ).initialize(context) |
---|
| 18 | |
---|
| 19 | import Campaign |
---|
| 20 | content_types, constructors, ftis = process_types( |
---|
| 21 | listTypes(PROJECTNAME), |
---|
| 22 | PROJECTNAME) |
---|
| 23 | |
---|
| 24 | utils.ContentInit( |
---|
| 25 | PROJECTNAME + ' Content', |
---|
| 26 | content_types = content_types, |
---|
| 27 | permission = ADD_CAMPAIGN_PERMISSION, |
---|
| 28 | extra_constructors = constructors, |
---|
| 29 | fti = ftis, |
---|
| 30 | ).initialize(context) |
---|
Note: See
TracBrowser
for help on using the repository browser.