[Moin-user] remove actions
Benedict Verheyen
benedict.verheyen at gmail.com
Wed Jun 13 11:34:25 EDT 2007
R.Bauer schreef:
> Benedict Verheyen wrote:
>> Hi,
>>
>> i was able to disable the action Render As Docbook by including this in
>> my farmconfig.py:
>> actions_excluded = ['RenderAsDocbook',]
>> However, it still shows up but greyed out (disabled).
>>
>> How can i remove it from the actions menu?
>
> see theme/__init__.py at def actionsMenu(self, page):
>
> You have to change menu and title
>
> cheers
> Reimar
I found that if i edit this file:
wikifarm\wikis\<wikinam>\data\plugin\theme\<themename>.py
i can set the menu per wiki.
I copied the function actionsMenu over and did my adjustments in the
copy in the above specified path and that worked like a charm.
Thanks,
Benedict
More information about the Moin-user
mailing list