Just installed the latest version of this from Numinix. Still no response for the problem of a PHP warning on line 84 of tpl_product_info_display.php.
Being just a warning, I can live with that BUT, I believe their use of FCKEDITOR vs CKEDITOR was the original problem with this thread and STILL is there today.
In their admin/popup_test_edit.php, lines 79-96 are:FCKEDITOR was abandoned in 2010!Code:<?php // echo zen_draw_form('popup_text_edit', FILENAME_POPUP_TEXT_EDIT, '', 'post', 'enctype="multipart/form-data" onsubmit="setPopupText(this);return true;"'); echo zen_draw_hidden_field('action', 'set'); if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") { $oFCKeditor = new FCKeditor('message_html') ; $oFCKeditor->Value = 'lena'; $oFCKeditor->Width = '97%' ; $oFCKeditor->Height = '470' ; // $oFCKeditor->Create() ; $output = $oFCKeditor->CreateHtml() ; echo $output; } else { // using HTMLAREA or just raw "source" echo zen_draw_textarea_field('message_html', 'soft', '95%', '28', '', 'id="message_html"'); echo '<script type="text/javascript"><!-- document.getElementById(\'message_html\').value = opener.document.getElementById(opener.textEditFieldID).value; // --></script>'; } echo zen_image_submit('button_save.gif', IMAGE_SAVE) . '<a href="javascript:window.close()">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?>
There template to show the second description usesI'm not able to play with this much IRL and would appreciate thoughts on this as I imagine it's not as simple as dropping the F in each case.Code:<?php if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") { $oFCKeditor = new FCKeditor('products_description2[' . $languages[$i]['id'] . ']') ; $oFCKeditor->Value = (isset($products_description2[$languages[$i]['id']])) ? stripslashes($products_description2[$languages[$i]['id']]) : zen_get_products_description2($pInfo->products_id, $languages[$i]['id']) ; $oFCKeditor->Width = '99%' ; $oFCKeditor->Height = '350' ; // $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ; // $oFCKeditor->Create() ; $output = $oFCKeditor->CreateHtml() ; echo $output; } else { // using HTMLAREA or just raw "source" echo zen_draw_textarea_field('products_description2[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', (isset($products_description2[$languages[$i]['id']])) ? stripslashes($products_description2[$languages[$i]['id']]) : zen_get_products_description2($pInfo->products_id, $languages[$i]['id'])); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); } ?>


Reply With Quote
