root/qPloneDropDownMenu/trunk/__init__.py

Revision 1411 (checked in by piv, 2 months ago)

now this product is compatible with plone 3

Line 
1 from AccessControl import allow_module
2 from Products.CMFCore.utils import ToolInit
3
4 from Products.qPloneDropDownMenu.DropDownMenuTool import DropDownMenuTool
5 from Products.qPloneDropDownMenu.config import PROJECT_NAME
6
7 allow_module('Products.qPloneDropDownMenu.utils')
8
9 tools = (DropDownMenuTool,)
10  
11 def initialize(context):
12     ToolInit(PROJECT_NAME,
13              tools=tools,
14              icon='tool.gif').initialize(context)
Note: See TracBrowser for help on using the browser.