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 | |
---|
12 | from Products.CMFCore.utils import getToolByName |
---|
13 | |
---|
14 | getToolByName(context, 'portal_dropdownmenu').regenerateMenu() |
---|
15 | context.plone_utils.addPortalMessage('DropDown Menu regenerated.') |
---|
16 | return state.set(status='success') |
---|
Note: See
TracBrowser
for help on using the repository browser.