pennydeb Posted June 25, 2010 Posted June 25, 2010 I have successfully installed ckeditor so it works in the products area using the following install directions But how do I get this to work in the newsletter manager.? I would really appreciate some help with what code should be place where to activate the editor. Unable to find a solution here in the forums. --------------------------- 1. Download ckeditor from http://ckeditor.com/download 2. Unpack and upload to catalog/admin. (catalog/admin/ckeditor) 3. Open catalog/admin/categories.php and find this line <script language="javascript" src="includes/general.js"></script> Add this after. <script type="text/javascript" src="./ckeditor/ckeditor.js"></script> 4. Find this code in catalog/admin/categories.php <?php 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']))); ?> replace with this <?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' . $languages[$i]['id'] . '] class="ckeditor"'); ?> Quote
Guest Posted June 25, 2010 Posted June 25, 2010 Deb, There is currently no implementation for CKeditor into the newsletter manager. However there is FCKeditor and TinyMC contributions to do that. This one does ALL text fields: http://addons.oscommerce.com/info/5679 Chris Quote
pennydeb Posted June 26, 2010 Author Posted June 26, 2010 Thanks Chris, unistalled the ckeditor and in the process of fck install, however am now stuck. All good until I get to the last stages of the install instructions show below. The contribution has a userfiles directory to install httpdocs/catalog/userfiles/ which I did . This was step #2 of the install then I implemented the #2.2 changes with no problems. Then the next step says to 3. Create a directory named: userfiles in the root of your website and give 777 Permission. So does that mean I need another to create a new directory or is this the directory I had to install above? Next 3 Questions.... 4. Insert the path to your /userfiles/ directory in: admin/fckeditor/editor/filemanager/connectors/php/config.php $Config['UserFilesPath'] = '/userfiles/' ; so here do I change this to '/catalog/userfiles/' and a few lines down: $Config['UserFilesAbsolutePath'] = '/YOUR/ABSOLUTE/PATH/OF/THE/USERFILES/DIRECTORY/' ; and change this to '/httpdocs/catalog/userfiles/' 5. Go to Administration >> Catalog >> Categories/Products edit any of the products to see the FCKeditor in the description of a product 6. Install Addons in the Addons directory. I don't seem to have an Addons Directory.... so what do I do here ? 7. Now you have a complete shopping cart with the best and light editor! [/b] Quote
pennydeb Posted June 28, 2010 Author Posted June 28, 2010 Still looking for some help here, any suggestions? 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.