[Moin-user] [Moin-Users] comment Alias & URL_CSS

Thilo Pfennig tpfennig at gmail.com
Mon Apr 24 05:32:06 EDT 2006


2006/4/24, Mehdi Hassanpour <mehdi.public at gmail.com>:
> Hi,
>
>  How should I disable "Alias" & "URL_CSS" in UserPrefernces ?
>
>  I've done that like this in "multiconfig.py"
>
>  --
>      user_form_fields = [
>          ('name', _('Name'), "text", "36", _("(Use
> Firstname''''''Lastname)")),
>          ##('aliasname', _('Alias-Name'), "text", "36", ''),
>          ('password', _('Password'), "password", "36", ''),
>          ('password2', _('Password repeat'), "password", "36", _('(Only when
> changing passwords)')),
>          ('email', _('Email'), "text", "36", ''),
>          ##('css_url', _('User CSS URL'), "text", "40", _('(Leave it empty
> for disabling user CSS)')),
>  --
>
>  but now when I select another user in  "UserPreferences" ( ex. for
> disabling him) I see this error:
>
>  --
>  User instance has no attribute 'css_url'
>  --

You better disable settings in the wikiconfig, not under MoinMoin/ !

s.a. http://moinmaster.wikiwikiweb.de/HelpOnConfiguration

Thilo


--
http://vinci.wordpress.com




More information about the Moin-user mailing list