Skip to main content

Set the default editor in Plone for all existing members.

Project description

Introduction

When you install a new visual editor in your Plone Site, you can set wysiwyg_editor in portal_memberdata to the proper value for this new editor. This only means that new users will get this new editor. To change the editor for all existing users, use this package.

This makes available a browser view @@set-default-editor and follow the instructions. You can choose to run this in dry-run mode and see how many users would be changed. When dry run is not selected, details are logged to the instance log.

On the same form you can also select to set the default editor for new users at the same time as changing it for existing users.

Todo

  • Add tests.

Contributors

I (Maurits van Rees) found the main code in an article by Rob Gietema. He apparently got the script from Kelly Craig. And I have seen the same code in a post to the plone-setup list by Reinout van Rees. So I claim it back in defense of our family honour. ;-)

Changelog

1.1 (2010-04-21)

  • Also offer option to set the chosen editor as new default in portal_memberdata. [maurits]

  • Added form to make setting the editor more user friendly. [maurits]

  • Check that the input for the wanted editor is sane: is that editor actually installed? [maurits]

1.0 (2010-03-17)

  • Initial release [maurits]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.setdefaulteditor-1.1.zip (22.1 kB view details)

Uploaded Source

File details

Details for the file collective.setdefaulteditor-1.1.zip.

File metadata

File hashes

Hashes for collective.setdefaulteditor-1.1.zip
Algorithm Hash digest
SHA256 3d3625889559ee0dff636d7936ade2bfc3a3159aa4dd5d3b7f000fb4adab349e
MD5 e080b41659a7cdfd2325d555bec2f590
BLAKE2b-256 ceda81a1e0b2f5c645bd15b2817f87b44bf7f9b4e45e13357977961fbf2334f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page