[Moin-user] remove 'Settings' links from MoinMoin

Rick Vanderveer rick.vanderveer at gmail.com
Thu Feb 19 12:06:02 EST 2009


Hey David,

I would suggest editing the CSS for your theme and use the
'visibility' or 'display' style (depending on which works best for
you) to remove it.  I've used that to successfully remove all kinds of
elements I didn't want visible.

-Rick


On Thu, Feb 19, 2009 at 10:41 AM, David M. Besonen <davidb at panix.com> wrote:
> 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
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>




More information about the Moin-user mailing list