This is my first contribution to osCommerce, and I really don't know if this is going to work for everyone, but it worked for me so here goes.

I don't know if this matters, but I use GoDaddy.com for my hosting. In order for me to get this contribution to work, I had to include "../" (without the quotes) whenever the path to FCKeditor was referenced.

So for example, where the instructions state to insert the following code in html_output.php:

require("fckeditor/fckeditor.php");


I needed to change the code statement to:

require("../fckeditor/fckeditor.php");

Similarly, in the same file, the instructions tell us to insert the following code (also in html_output.php):

////
// Output a form textarea field w/ fckeditor
function tep_draw_fckeditor($name, $width, $height, $text) {

$oFCKeditor = new FCKeditor($name);
$oFCKeditor -> Width = $width;
$oFCKeditor -> Height = $height;
$oFCKeditor -> BasePath = 'fckeditor/';
$oFCKeditor -> Value = $text;

$field = $oFCKeditor->Create($name);

return $field;
}

I had to change the BasePath line to read '../fckeditor/'

If I didn't make these changes, I would end up with a copy of my web site in the editor area, with no editing capabilities at all.

The text file that is included is only the installation instructions for Beaman's update below.

I hope this can help someone out there.

More...