source: products/qTrackSpam/trunk/__init__.py @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 921 bytes
Line 
1from Globals import package_home
2from Products.Archetypes.public import process_types, listTypes
3from Products.CMFCore import utils
4from Products.CMFCore.DirectoryView import registerDirectory
5import os, os.path
6import TrackSpamTool 
7from config import *
8
9registerDirectory(SKINS_DIR, GLOBALS)
10
11tools = ( TrackSpamTool.TrackSpamTool, )
12
13def initialize(context):
14
15    utils.ToolInit("TrackSpamTool",
16                    tools=tools,
17                    product_name=PROJECTNAME,
18                    icon=TOOL_ICON,
19                  ).initialize(context)
20
21#     content_types, constructors, ftis = process_types(listTypes(PROJECTNAME), PROJECTNAME)
22#
23#     utils.ContentInit(
24#         PROJECTNAME + ' Content',
25#         content_types      = content_types,
26#         permission         = 'Manage Portal',
27#         extra_constructors = constructors,
28#         fti                = ftis,
29#         ).initialize(context)
30
Note: See TracBrowser for help on using the repository browser.