
Originally Posted by
dscott1966
Sorry for the double post here you go on how to fix the FCKeditor problem:
Find in: admin/includes/modules/faq/collect_info.php
<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") {
// if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php');
$oFCKeditor = new FCKeditor ;
$oFCKeditor->Value = (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id']) ;
$oFCKeditor->CreateFCKeditor( 'faqs_answer[' . $languages[$i]['id'] . ']', '99%', '230' ) ; //instanceName, width, height (px or %)
} else { // using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('faqs_answer[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($faqs_answer[$languages[$i]['id']])) ? stripslashes($faqs_answer[$languages[$i]['id']]) : zen_get_faqs_answer($pInfo->faqs_id, $languages[$i]['id'])); //,'id="'.'faqs_description' . $languages[$i]['id'] . '"');
and replace with:
<?php if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") {
// if (HTML_EDITOR_PREFERENCE=="FCKEDITOR") require(DIR_WS_INCLUDES.'fckeditor.php');
$oFCKeditor = new FCKeditor ('products_description[' . $languages[$i]['id'] . ']') ; // problem sold
$oFCKeditor->Value = (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']) ;
// $oFCKeditor->Create() ;
$oFCKeditor->Width = '99%' ;
$oFCKeditor->Height = '300' ;
// $output = $oFCKeditor->CreateHtml() ; echo $output;
$oFCKeditor->Create( 'products_description[' . $languages[$i]['id'] . ']' ) ; //instanceName, width, height (px or %)
} else { // using HTMLAREA or just raw "source"
echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', (isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'products_description' . $languages[$i]['id'] . '"');
} ?>
There will be two places in the file that this code needs to placed. Hope this works for you.
Hello, Dscoot,
really appreciated for your update.
tried your new code but unfortunately still not fix my problem.
following is the error code. thank you very much. any suggestions?
HTML Code:
The requested URL /FCKeditor/fckeditor.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Bookmarks