source: products/qPloneDropDownMenu/trunk/skins/qPloneDropDownMenu/dropdownmenu_update.cpy @ 1140

Last change on this file since 1140 was 372, checked in by chervol, 18 years ago

fixed interfaces

File size: 422 bytes
Line 
1## Script (Python) "dropdownmenu_update"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind state=state
7##bind subpath=traverse_subpath
8##parameters=
9##title=
10##
11
12from Products.CMFCore.utils import getToolByName
13
14getToolByName(context, 'portal_dropdownmenu').regenerateMenu()
15context.plone_utils.addPortalMessage('DropDown Menu regenerated.')
16return state.set(status='success')
Note: See TracBrowser for help on using the repository browser.