On Wed, Mar 19, 2008 at 10:44:22AM +0100, Peter Eisentraut wrote:
> Am Mittwoch, 19. März 2008 schrieb Frank Habermann:
> > Your package includes a copy of FCKEditor, which also is packaged as
> > fckeditor in the archive. You need to fix your package
> > to use the system-wide editor.
> 
> OK, but someone would need to verify that the externally packaged version is 
> compatible with egroupware.  (The diff is 20000 lines.)

I didn't actually try it; a solution could be to just symlink
phpgwapi/js/fckeditor to the externally packaged fckeditor, but:

1. egroupware uses an older version (2.4.1 instead of 2.5.1 which is in
   the archive)

2. egroupware is shipped with a file 'egw_integration.txt' for
   fckeditor; content:

,----[ egw_integration.txt ]
| Changes made to fckeditor to work properly on egroupware
|  - fckconfig.js
|     - Added egw_* toolbars
|  - editor/filemanager/browser/default/connectors/php/connector.php
|     - Change hardcoded image dir from Image -> images (to respect the actual
|       behavior in sitemgr)
|  - editor/filemanager/browser/default/frmresourcetype.html
|     - Again change Image -> images
|  - editor/filemanager/browser/default/connectors/php/config.php
|     - Commented hardcoded Userdir path
|     - Enable the browser
|  - editor/filemanager/upload/php/config.php
|     - Commented hardcoded Userdir path (is disabled by default)
|  - editor/filemanager/browser/default/connectors/php/io.php
|     - Remove the append of directory per type, example, for images the final
|       url is base+serverpath+images (or type)
`----

I'm not very familiar with egroupware and fckeditor but this information
should be borne in mind, I guess.

Cheers,
Hauke

Attachment: signature.asc
Description: Digital signature

Reply via email to