Friday 12 August 2005 1:17:24 am
Here is what I have done: (I use Ez 3.6.1) - I have downloaded the tar.gz file Geraint gives us. THen unzipped it to the extension directory. So I have the following directories:
-extension
-fckeditor
-autoloads
-design
-FCKeditor
-settings
- Then I activated the extension by checking it in the setup/extension interface using the admin interface.
- Then I added the lines in the site.ini.append
[ExtensionSettings] ActiveExtensions[]=fckeditor and
[TemplateSettings] ExtensionAutoloadPath[]=fckeditor What may be important to say is that on Geraint's advise I changed in the fckeditor.php from
$oFCKeditor->BasePath = '/extension/fckeditor/FCKeditor/' ;
to
$oFCKeditor = new FCKeditor("fck".$id) ;
include_once( 'lib/ezutils/classes/ezextension.php' );
$extensionDirectory = eZExtension::baseDirectory();
include_once( 'lib/ezutils/classes/ezsys.php');
eZSys::init( eZINI::instance() );
$oFCKeditor->BasePath = eZSys::wwwDir() . "/" . $extensionDirectory . "/fckeditor/FCKeditor/" ;
I did this because I have installed my ezpublish in a subdirectroy not in the 'DocRoot' So maybe there the same kind of problem... But I don't know where/what to change
|