Last change
on this file since 1 was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
File size:
649 bytes
|
Rev | Line | |
---|
[1] | 1 | from AccessControl import allow_module |
---|
| 2 | from Products.CMFCore import utils |
---|
| 3 | from Products.CMFCore.DirectoryView import registerDirectory |
---|
| 4 | |
---|
| 5 | from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool |
---|
| 6 | from Products.qPloneDropDownMenu.config import PROJECT_NAME, SKINS_DIR, GLOBALS, VIEW_PERMISSION |
---|
| 7 | |
---|
| 8 | allow_module('Products.qPloneDropDownMenu.utils') |
---|
| 9 | |
---|
| 10 | registerDirectory(SKINS_DIR, GLOBALS) |
---|
| 11 | |
---|
| 12 | tools = (DropDownMenuTool,) |
---|
| 13 | |
---|
| 14 | def initialize(context): |
---|
| 15 | utils.ToolInit( PROJECT_NAME, |
---|
| 16 | tools = tools, |
---|
| 17 | product_name = PROJECT_NAME, |
---|
| 18 | icon='tool.gif' |
---|
| 19 | ).initialize(context) |
---|
Note: See
TracBrowser
for help on using the repository browser.