source: products/ShortMessage/tags/0.1.3/__init__.py @ 1591

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

Building directory structure

File size: 678 bytes
Line 
1from Products.Archetypes.public import *
2from Products.CMFCore import utils
3from Products.CMFCore.DirectoryView import registerDirectory
4from config import *
5
6#registerDirectory(SKINS_DIR, GLOBALS)
7
8def initialize(context):
9
10    import ShortMessage
11
12    content_types, constructors, ftis = process_types(
13                   listTypes(PROJECTNAME),
14                   PROJECTNAME)
15
16    utils.ContentInit(
17                PROJECTNAME ,
18                content_types      = content_types,
19                permission         = ADD_CONTENT_PERMISSION,
20                extra_constructors = constructors,
21                fti                = ftis,
22                ).initialize(context)
Note: See TracBrowser for help on using the repository browser.