[Moin-user] remove 'Settings' links from MoinMoin
David M. Besonen
davidb at panix.com
Thu Feb 19 11:41:56 EST 2009
i'd like to remove all of the 'Settings' links from MoinMoin
1.8.2.
i've attempted to do this by commenting these three lines in
the /MoinMoin/theme/__init__.py file:
if 'userprefs' not in self.request.cfg.actions_excluded:
userlinks.append(d['page'].link_to(request,
text=_('Settings'),
querystr={'action': 'userprefs'}, id='userprefs',
rel='nofollow'))
unfortunately, after commenting out these lines the
'Settings' links remained.
i was told (in #moin) that this technique for removing the
'Settings' links would work.
could someone else comment out these lines and let me know
whether or not it worked for them?
thanks,
david
More information about the Moin-user
mailing list