Guest Posted October 26, 2010 Posted October 26, 2010 I am a NOOB, to oscommerce and .php. Please be gentle!!! I was trying to follow the online instructions. Where it says Open catalog/admin/categories.php Find Around Line 541 echo tep_draw_textarea_field('products_description[' .$languages[$i]['id'] .']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']])? stripslashes($products_description[$languages[$i]['id']]): tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); Mine is located on line 1081 Then is says to replace that line with this ***BOF FCKeditor v2.6.4***/ echo tep_draw_fckeditor('products_description[' .$languages[$i]['id'] .']', '600', '420', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); /***EOF FCKeditor v2.6.4***/ Will I be able to replace the line on 1081? Thanks for your help Quote
Guest Posted October 26, 2010 Posted October 26, 2010 John, The line numbers are only for reference. You should search the code carefully and make edits accordingly. So, to answer your question, yes you can make the changes to your line 1081. Chris Quote
Guest Posted October 26, 2010 Posted October 26, 2010 John, The line numbers are only for reference. You should search the code carefully and make edits accordingly. So, to answer your question, yes you can make the changes to your line 1081. Chris Thanks Chris!! Will the affect any of my products that I currently have listed? Also will I be able to use the FCKeditor on the already listed products? Quote
Guest Posted October 27, 2010 Posted October 27, 2010 Hi John, It will not effect any current products and will allow you to edit/change and delete them as normal using the editor. Chris Quote
Guest Posted October 27, 2010 Posted October 27, 2010 Hi John, It will not effect any current products and will allow you to edit/change and delete them as normal using the editor. Chris Thanks DunWeb, For some reason when I follow the intructions it just does not work. I replaced the lines in the config.php and html_output.php 3. Create a directory named: userfiles in the root of your website and give 777 Permission. Done 4. Insert the path to your /userfiles/ directory in: admin/fckeditor/editor/filemanager/connectors/php/config.php $Config['UserFilesPath'] = '/userfiles/' ; tried serveral paths and a few lines down: $Config['UserFilesAbsolutePath'] = '/YOUR/ABSOLUTE/PATH/OF/THE/USERFILES/DIRECTORY/' ; tried serveral paths When I open oscommerce file manager this is my path "/home/tripod/public_html/osc/" Both "catalog/admin/fckeditor/" and "catalog/userfiles/" were both uploaded to "home/tripod/public_html/osc/" keeping dir in place for the files Thank you for your help Tripod Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.