home contents changes options help subscribe edit (external edit)

External editor is a ZopeProduct and helper application that integrates Zope with client-side editing tools. Say bye bye textareas!

External Editor has two parts - an ExternalEditor product which you install on the zope server, and a helper app which you install on the client machine. See more platform-specific notes below.

Once you have installed the helper app, you can click the pencil icon above to try it out on this page.

http://plope.com/software/ExternalEditor
home, versions 0.9 onward
http://zope.org/Members/Caseman/ExternalEditor
original home, versions prior to 0.9. Shouldn't this page be updated/retired.
Source code at cvs.zope.org
You're all clear kid, now let's blow this thing and go home.
http://zopemag.com/Issue002/Section_Products/product_external_editor_01.html
this review gives a good overview
HowToUseExternalEditorForPoFiles
a way to give translators easy access to po files
ZWiki:ExternalEditor , ZWiki:http://zwiki.org/HowToEditPagesWithExternalEditor
general and ZWiki-specific tips

EE helper app on unix

On debian, the zope product is zope-externaleditor and the client helper app is zopeedit but you're almost certainly better off with the latest versions from the EE site. Try home -> Unix Installation Instructions .

The config file is ~/zope-external-edit.

EE helper app on mac

Macosx users, use ZopeEditManager.

EE helper app on windows

It can be hard to get this working on windows. See home site -> Windows Installation Instructions .

  • use EE 0.9 or later.

    "http://plope.com/software/ExternalEditor/CHANGES-0.9.txt Most changes in this release are aimed at improving zopeedit behavior under Windows."

  • copy \Program Files\ZopeExternalEditor\ZopeEdit.ini to \Documents and Settings\YourUsername\

    "on windows I had to copy the ini file for external editor to my profile's home directory, and then edit the settings in there. It works once you do that. The instructions were misleading so I got this info from a japanese site!"

    See also http://thread.gmane.org/gmane.comp.web.zope.plone.user/32984

  • use quotes in editor paths

    In ZopeEdit.ini, use "" around the editor program path if it has spaces.

  • use %1 in editor paths ?

    Do you need to add %1, and should it be inside or outside the quotes ?

  • temporary file not found problems
      FATAL ERROR: Error launching editor process
      (poedit c:\docume~1\admini~1\locals~1\temp\tmppopupn9-some.site.net,dev,i18n,domain-fr.po):
      Le fichier specifie est introuvable.
    

    sm: so, there seems to be a few causes of this could not find the temporary file error with EE on windows
    sm: the no caching headers prevent IE from creating it - http://plope.com/software/ExternalEditor/install-win32 (but we're not using IE)
    sm: someone else got it working by going directly to the zope http port (reasons unknown)
    sm: a full disk would also do it I guess
    sm: for a while I thought Local Settings directory is called something else on french windows but no, it seems to be there, just hidden
    sm: my user is running as Administrator, I wonder if that prevents her browser from writing there

The config file is \Documents and Settings\YourUsername\ZopeEdit.ini.


comments:

Using with HomeSite5? -- Wed, 22 Jun 2005 04:02:28 -0700 reply
If HomeSite5? is open, the file will open for edit after clicking the pencil. If changed and saved, it appears to save. But file is not changed in Zope. Then an error popup opens about Lock Request Failed - 10060 Lock Request Failed. The file in Zope never changes. I have tried editor=homesite and homesite5 and have also given full path. Anyone out there use HomeSite5?? Chrism said he could not test as he did not. Thanks

... -- Fri, 30 Sep 2005 11:37:28 -0700 reply
Here's my version of the file that works on Windows with Gvim:

  # Zope External Editor helper application configuration

  [general]
  # General configuration options

  # Uncomment and specify an editor value to override the editor
  # specified by the operating system
  editor = "C:\Program Files\Vim\vim63\gvim.exe"

  # Automatic save interval, in seconds. Set to zero for
  # no auto save (save to Zope only on exit).
  save_interval = 1

  # Temporary file cleanup. Set to false for debugging or
  # to waste disk space. Note: setting this to false is a
  # security risk to the zope server
  cleanup_files = 1

  # Use WebDAV locking to prevent concurrent editing by
  # different users. Disable for single user use or for
  # better performance
  use_locks = 1

  # To suppress warnings about borrowing locks on objects
  # locked by you before you began editing you can
  # set this flag. This is useful for applications that
  # use server-side locking, like CMFStaging
  always_borrow_locks = 0

  # Specific settings by content-type or meta-type. Specific
  # settings override general options above. Content-type settings
  # override meta-type settings for the same option.

  [meta-type:DTML Document]
  extension=.dtml

  [meta-type:DTML Method]
  extension=.dtml

  [meta-type:Script (Python)]
  extension=.py

  [meta-type:Page Template]
  extension=.pt

  [meta-type:Z SQL Method]
  extension=.sql

  [content-type:text/plain]
  extension=.txt

  [content-type:text/html]
  extension=.html

  [content-type:text/xml]
  extension=.xml

  [content-type:text/css]
  extension=.css

  [content-type:text/javascript]
  extension=.js

  [content-type:image/gif]
  extension=.gif

  [content-type:image/jpeg]
  extension=.jpg

  [content-type:image/png]
  extension=.png

Problem locking files. --marbud, Fri, 18 Nov 2005 04:45:55 -0800 reply
Hi

I can't get zopeedit to lock my pages. I get

  1. 96.252.55 - adbmbu [18/Nov/2005:13:40:41 +0200]? "GET /azwiki/externalEdit_/FrontPage??borrow_lock=1 HTTP/1.1" 200 2144 "http://unixinfo.seml.astrazeneca.net:9080/azwiki/FrontPage" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 157.96.252.55 - adbmbu [18/Nov/2005:13:40:42 +0200]? "LOCK /azwiki/FrontPage? HTTP/1.1" 405 1739 "" "Zope External Editor/0.8"

Looks would guess that "Zope External Editor" does nto authenticate the LOCK request. We use the LDAP backend for user authetication, and you can only view if your not authenticated.

Is there a good way to solve this? There seems to be no option on zopeedit to make it provide a password...

Regards Martin Budsjö

Re: cvs.zope.org/Products -> svn.zope.org? --Simon Michael, Thu, 27 Apr 2006 12:52:32 -0700 reply
Latest may now be at http://svn.zope.org/Products.ExternalEditor/



subject:
  ( 29 subscribers )