Hi together,
i have some problems using FCKeditor. My environment of the editing:
lets say i have the following directory strcuture:
+--application
| +--tools
| | +-- FCKEditor
| +-- scripts
| | +-- edit_file.php
+-- files
| +-- xyz
| | +-- images
| | +-- mytest.html
Now i want edit the mytest.html. For that i create a FCKEditor as shown in the test.html file of FCKEditor/_test in my php file edit_file.php. The problem is now:
The mytest.html is shown correctly in the editor except the images. This images have relative paths to the images folder in files/xyz. The images are displayed only with an border.
Can i change the images base folder for the editing window??
thanks for helping
Timo
i have some problems using FCKeditor. My environment of the editing:
lets say i have the following directory strcuture:
+--application
| +--tools
| | +-- FCKEditor
| +-- scripts
| | +-- edit_file.php
+-- files
| +-- xyz
| | +-- images
| | +-- mytest.html
Now i want edit the mytest.html. For that i create a FCKEditor as shown in the test.html file of FCKEditor/_test in my php file edit_file.php. The problem is now:
The mytest.html is shown correctly in the editor except the images. This images have relative paths to the images folder in files/xyz. The images are displayed only with an border.
Can i change the images base folder for the editing window??
thanks for helping
Timo
RE: problems with relative images paths
echo $myhtmltest;
try
echo stripslashes($myhtmltest);
hope this helps
RE: problems with relative images paths
i wonder if i can import the document path to the JS and it then can handle relative path