Last change
on this file since 1 was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
File size:
678 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 | #registerDirectory(SKINS_DIR, GLOBALS) |
---|
| 7 | |
---|
| 8 | def 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.