Changes http://wiki.axiom-developer.org/ExternalEdit/diff --
??changed: -Zope External Editor +Installing Zope External Editor + + On August 2, 2006 Kai Kaminski provided the following + instructions for how to install the external editor: + + It isn't difficult at all. + + Go to http://www.zope.org/Members/Caseman/ExternalEditor + + Mac Users: + + Download the ZopeEditManager, put it into your Application + Folder, start it, change the Preferences to reflect your choice + of editor and set ZopeEditManager as the MIME handler for + application/x-zope-edit in your browser. + + Unix Users: + + Download zopeedit-src.tgz and extract it. Enter the zopeedit + directory and run (You may need to be root):: + + python2.2 setup.py install + + This will install the zopeedit.py executable (in /usr/local/bin + on my system). Alternately, you can just copy zopeedit.py to the + location of your choosing. + +Once you have the helper application installed, you need to +configure your browser to fire it off appropriately. To do so, +create an entry in the 'helper applications' list for your browser(s) +that associates the mime type "application/x-zope-edit" with the +helper application. + +Step by step instructions for Mozilla and Konqueror are in the README. + +Tips + + The helper application can run any editor program that does not +detach itself from the controlling process. + +To get terminal based editors to work, you need to spawn them +inside an xterm. to do this, use something like the following for +the editor option:: + + editor = xterm -e vi + +You can of course modify the above to fire up your favorite +terminal and editor or add any command line arguments you want. + +As for editors that insist on detaching from the controlling +process (gvim does this by default), you need to configure them +so that they do not detach. For gvim you could use:: + + editor = gvim -f + +DO NOT FORGET TO WRITE SOMETHING IN THE 'Log: '-LINE, OTHERWISE THE +CHANGES WON'T BE ACCEPTED. + +Using It + + The icon that starts an external edit session is the little + "pencil" in the top right hand side of the screen on the extreme + right side of the menu line on Axiom Wiki. Using the editor is + easy once your browser is configured (see the installation + instructions). To edit an object externally, just click on the + pencil icon. The page will be downloaded and opened using the + editor application you have chosen (you will be prompted the + first time to choose an editor). + + You edit the object just like any other file. When you save the + changes in your editor, they are automatically uploaded back to + Zope in the background. While the object is open in your editor, + it is locked in Zope to prevent concurrent editing. When you end + your editing session (ie you close your editor) the object is + unlocked. + +Technical Details --removed: - Using It - - Use of the application is about as easy as using the ZMI once your browser - is configured (see the installation instructions). To edit an object - externally, just click on the pencil icon next to the object in the ZMI. - The object will be downloaded and opened using the editor application you - have chosen (you will be prompted the first time to choose an editor). - - You edit the object just like any other file. When you save the changes in - your editor, they are automatically uploaded back to Zope in the - background. While the object is open in your editor, it is locked in Zope - to prevent concurrent editing. When you end your editing session (ie you - close your editor) the object is unlocked. - How it Works -- forwarded from http://wiki.axiom-developer.org/[EMAIL PROTECTED]
