[Moin-user] remove actions

Benedict Verheyen benedict.verheyen at gmail.com
Wed Jun 13 11:19:11 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

Hi Reimar,

thanks for the info.
I indeed found the site-packages\MoinMoin\theme\__init__.py file
with the actionsMenu & info in there.

Editing that init file makes changes for all themes.
Is there a way to edit the action menu just for 1 theme?

Thanks,

Regards,
Benedict





More information about the Moin-user mailing list