Personal tools
You are here: Home Documentation How-tos Getting ExternalEditor (ZopeEditManager) working in Firefox on Mac OS X
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Getting ExternalEditor (ZopeEditManager) working in Firefox on Mac OS X

This How-to applies to: Any version.
This How-to is intended for: End Users

How to get the External Editor feature of Plone to work using Firefox on Mac OS X. (Updated!)

ZopeEditManager is a fantastic little utility that basically allows you to click the Pencil Icon on a content object and edit it locally, without having to download it, edit it, then save it back to your Plone site.  More about it can be found at Zope.org and UrbanApe.com.

This HowTo explains how to get it running on your Mac (Tiger) with Firefox, since all of the documentation explains how to do it in Mozilla.  There are some minor differences in the preference panes of Mozilla and Firefox which make this more difficult than it should be.  Go figure.

I believe you need to have the Developer Tools (XCode) installed for this to work, but I have them so I'm unable to test whether it works without them.  The DevTools is an enormous download from Apple DevCenter, or it should have come on the CD/DVD with your shiny new Mac.  If you have dialup, look for XCode install on your installation media.  If you have a fiber connection to the 'net, you can go to Apple's Developer pages.  You will need to register (for free) in order to download it.

OK, to start, download the latest ZopeEditManager, which you'd figure could be found on Zope.org, but that page isn't maintained any longer, so go looking at the author's site.  Install it by dragging the app into your Applications directory like any other application.  I personally put mine in "/Applications/Utilities" but I'm just like that.

Get the latest Firefox, just because Firefox rocks (unless you're Limi, and then Opera rocks, but this tutorial is not about Opera)

Now here's the rub.  You should be able to just go to the preferences and add the application/zope-edit MIME type to the download manager, but for some inane reason, you cannot actually add anything there.  Clicking on the External Editor pencil icon in Plone gets translated to the file extension of the file your downloading, so that didn't seem to work either!  I found a Firefox extension that makes this preference pane sane again:

Mime Edit

Install that, and restart Firefox.  Now you should have "Mimetypes..." in your Tools menu.  Go there.

Click "New Type..." and enter the following:

MIME Type: application-x-zope-edit
Description: External Editor
Extension: zem

Select "Open it with:" and browse to where you saved ZopeEditManager. Choose ZopeEditManager.

Et voila!  It should be working now.

Be sure to read the ZEM read me about how to configure it to map various MIME types to the local editor of choice.  For [a bad] example, I added the following to the Helper Apps pane of ZopeEditManagers preferences.

Type: application/msword
Editor: Microsoft Word
Extension: doc

Now, when I click on the pencil icon of a Word Document in my Plone, it opens ZEM, which in turn launches Word.  I make my edits to the Word document, save and close it, and ZEM saves it back to the Plone site.  No tedious downloading, editing, and reuploading!

Huzzah!

--

~Spanky

by Tom "Spanky" Kapanka last modified September 21, 2007 - 17:56 All content is copyright Plone Foundation and the individual contributors.

Firefox 2.0 problem fixed

Posted by Valentina Cartei at December 18, 2006 - 13:45
For those who, like me, got ff2 for MAC and found that the mime type editor doesn't work, here there's a solution that worked for me.
After having installed the ZopeEditManager, open the file prefs.js of the firefox browser (you can find it by using finder's search utility).
Then add the following line:
user_pref("plugin.disable_full_page_plugin_for_types", "application-x-zope-edit");
and save.
Restart firefox and the first time you click on the pencil icon in zmi, firefox should ask you what action you want to take. You can just enter the external application you want to use, in this case ZopeEditManager. Check the box to always use this same application so you are not prompted again.
Good luck!

may work for Mac, but not for Linux

Posted by John DeStefano at January 19, 2007 - 18:21
When I click the pencil icon, Firefox 2.0 just opens the page within itself as text.

thanks!

Posted by John-Paul Walton at February 25, 2007 - 23:39
Great how-to!

"MIME Type Editor" is now called "MIME Edit" and works for Firefox 2.0

Posted by Pelle Kroegholt at March 19, 2007 - 09:02
https://addons.mozilla.org/firefox/4498/

Xemacs ?

Posted by Steven McDonald at September 21, 2007 - 04:39
How do I get ZopeEditManager to work with xemacs, I have installed xemacs via macports, it is in /opt/local/bin/xemacs. But when I add xemacs or /usr/local/bin/xemacs to the editor field in ZopeEditManager xemacs does not get launched, I even tried the xterm -e /opt/local/bin/xemacs which is what I do from my linux machine when using zopeedit.

X11 is also running.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by