List Info

Thread: How do I make the FCKeditor the default editor for every user?




How do I make the FCKeditor the default editor for every user?
user name
2006-09-20 08:38:55
Alex Mandel, on 2006-09-20:
> Speaking of which, this seems really common. Does
someone already have a 
> script for this. Or if I write one where should I post
it on the plone 
> site so it's available.

One of my products has  this in Extensions/AppInstall.py,
which seems
to do the trick:

    # make sure fckeditor is the default editor instead of
kupu.
    mtool = getToolByName(portal, 'portal_memberdata')
    mtool._updateProperty('wysiwyg_editor', 'FCKeditor')

-- 
Maurits van Rees | http://maurits.vanrees.or
g/ [NL]
            Work | http://zestsoftware.nl/
       GnuPG key | http://maur
its.vanrees.org/var/gpgkey.asc
"Do only what only you can do." --- Edsger Wybe
Dijkstra


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )