Making Safari and other browsers on Mac OS X compatible with ZopeEditManager and with .zem files that may be served by Zope/Plone

I have submitted the following hint to http://www.macosxhints.com/.

Feel free to test/comment…

Safari compatibility with .zem and ‘Edit with external application’ features of Plone/Zope

For .zem files, sometimes offered by Plone content management systems, to be treated as safe by Safari and similar applications, you may add three strings to your DownloadAssessment preferences.

1) in Terminal,

plutil -convert xml1 ~/Library/Preferences/com.apple.DownloadAssessment.plist

2) in Terminal,

pico ~/Library/Preferences/com.apple.DownloadAssessment.plist

3) include the three strings shown in the example at http://pastebin.ca/792460 then save and close the plist

4) get ZopeEditManager from the Urbanape software area

5) ZopeEditManager menu | Preferences… | Helper Apps

  • you may wish to add helpers such as
    • application/msword | NeoOffice | .doc

6) quit then re-launch Safari.


If your CMS does not append the .zem suffix to ZEM file names, then you may ask your Plone service administrator to consider the discussion at and around http://dev.plone.org/plone/ticket/7291#comment:10

Focusing on the Plone site manager’s view of

/portal_actions/document_actions/extedit/manage_propertiesForm

if the URL (Expression) is changed to

string:${here/aq_parent/absolute_url}/externalEdit_/${here/getId}.zem?macosx=1

then the service may play more nicely with browsers on Mac OS X:

  • without compromising service to users of IE 7 on Windows
  • I have not tested for service compatibility with other browsers/platforms.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s