Changeset 758 in products


Ignore:
Timestamp:
Jan 16, 2007 5:42:51 PM (17 years ago)
Author:
piv
Message:

updated README.txt

Location:
qPloneDropDownMenu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qPloneDropDownMenu/trunk/DropDownMenuTool.py

    r59 r758  
    55from Products.CMFCore.utils import UniqueObject, getToolByName 
    66 
    7 from Products.qPloneDropDownMenu.Extensions.Install import updateMenu 
    8 from config import VIEW_PERMISSION, PROJECT_NAME, UNIQUE_ID 
     7from utils import updateMenu 
     8from config import MANAGE_PERMISSION, PROJECT_NAME, UNIQUE_ID 
    99 
    1010 
     
    1717    security = ClassSecurityInfo() 
    1818 
    19     security.declareProtected(VIEW_PERMISSION, 'regenerateMenu') 
     19    security.declareProtected(MANAGE_PERMISSION, 'regenerateMenu') 
    2020    def regenerateMenu(self): 
    21         updateMenu(self) 
     21        portal = getToolByName(self, 'portal_url').getPortalObject() 
     22        updateMenu(portal) 
    2223 
    2324InitializeClass(DropDownMenuTool) 
  • qPloneDropDownMenu/trunk/README.txt

    r59 r758  
    77  "Download":http://sourceforge.net/projects/quintagroup 
    88 
    9   (c) "Quintagroup":http://quintagroup.com/ , 2005.  
     9  (c) "Quintagroup":http://quintagroup.com/ , 2008.  
    1010 
    1111  support@quintagroup.com * quintessence of modern business 
     
    1313Requires 
    1414 
    15   Plone 2.0+ 
    16   CMF 1.4.7+ 
    17   Zope 2.7+ 
     15  Plone 3.0+ 
    1816 
    1917Install 
     
    7977Authors 
    8078 
    81   * Myroslav Opyr 
    82  
    8379  * Vitaliy Podoba 
Note: See TracChangeset for help on using the changeset viewer.