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

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

Building directory structure

File size: 649 bytes
Line 
1from AccessControl import allow_module
2from Products.CMFCore import utils
3from Products.CMFCore.DirectoryView import registerDirectory
4
5from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool
6from Products.qPloneDropDownMenu.config import PROJECT_NAME, SKINS_DIR, GLOBALS, VIEW_PERMISSION
7
8allow_module('Products.qPloneDropDownMenu.utils')
9
10registerDirectory(SKINS_DIR, GLOBALS)
11 
12tools = (DropDownMenuTool,)
13 
14def 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.