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

Mehdi Hassanpour mehdi.public at gmail.com
Mon Apr 24 04:18:14 EDT 2006


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'
--


Thanks
--
********************************************************
Yours Sincerely, Mehdi Hassanpour
----------------------------------------------------------------------
/* Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
                           ~Saadi (persian poet) -1258 */
----------------------------------------------------------------------
http://ImPersian.com     |     http://Hezardastan.org
********************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20060424/a0576182/attachment.html>


More information about the Moin-user mailing list