Hello,
I've some problems with the basepath when loading fckeditor.
The directory structure:
http://www.xxx.nl/cms/fckeditor
http://www.xxx.nl/cms/index.php
When I use $oFCKeditor->BasePath = 'fckeditor/'; in the index.php then everything works allright.
But with an other structure:
http://www.xxx.nl/cms/fckeditor
http://www.xxx.nl/cms/test/index.php
It isn't posible to load the editor. I tryed the following code in the index.php:
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->BasePath = '../fckeditor/';
$oFCKeditor->BasePath = 'http://www.xxx.nl/cms/fckeditor/';
Nothing seems to work. Does somebody know a solution.
Best Regards,
Nicos
Fri, 09/21/2007 - 15:05
#1
Re: BasePath problem
Re: BasePath problem
Also, leave off the first '/' it should just be 'FCKeditor'
Re: BasePath problem
I know it for sure that the cases are right. I named the directory fckeditor istead of FCKeditor.
What do you mean with: Also, leave off the first '/' it should just be 'FCKeditor', $oFCKeditor->BasePath = 'fckeditor/'; doesn't work.
The problem is I work in the directory: http://www.xxx.nl/cms/test/ and the fckeditor is al level higher. So I must first switch to a higher level.
Re: BasePath problem
Re: BasePath problem
is the 'include' command successfull?
Re: BasePath problem
directory structure:
<root>/fck/fckeditor
<root>/test/test.php
Re: BasePath problem
Pora thanks!!!!!!!!!!!!!!