Last change
on this file since 3664 was
243,
checked in by mylan, 18 years ago
|
Remove workflow chain for Discussion Item on installation - resolved cataloging bug.
|
-
Property svn:eol-style set to
native
|
File size:
754 bytes
|
Line | |
---|
1 | from zope.i18nmessageid import MessageFactory |
---|
2 | from Products.Archetypes.public import process_types, listTypes |
---|
3 | from Products.CMFCore import utils |
---|
4 | |
---|
5 | qPingToolMessageFactory = MessageFactory('qPingTool') |
---|
6 | |
---|
7 | import PingInfo, PingTool |
---|
8 | from config import * |
---|
9 | |
---|
10 | tools = ( PingTool.PingTool, ) |
---|
11 | |
---|
12 | def initialize(context): |
---|
13 | utils.ToolInit("PingTool", tools=tools, icon=TOOL_ICON, |
---|
14 | ).initialize(context) |
---|
15 | |
---|
16 | content_types, constructors, ftis = process_types(listTypes(PROJECTNAME), PROJECTNAME) |
---|
17 | |
---|
18 | utils.ContentInit( |
---|
19 | PROJECTNAME + ' Content', |
---|
20 | content_types = content_types, |
---|
21 | permission = ADD_PERMISSION, |
---|
22 | extra_constructors = constructors, |
---|
23 | fti = ftis, |
---|
24 | ).initialize(context) |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.