This is a discussion on FCKeditor for Product Descriptions within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This is my first contribution to osCommerce, and I really don't know if this is going to work for ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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...
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FCKeditor for Product Descriptions | michael_s | New osCommerce Contributions | 0 | 10-29-2007 07:47 AM |
| FCKeditor for Product Descriptions | michael_s | New osCommerce Contributions | 0 | 10-05-2007 01:02 AM |
| Product Tabs , for some reason i have 2 Product descriptions | theengineer | osCMax v2 Customization/Mods | 4 | 04-23-2007 01:07 PM |
| Product Descriptions | coblasingame | osCMax v1.7 General Mods Discussion | 1 | 01-29-2006 12:26 PM |
| Product descriptions not appearing | crispin | osCMax v2 Installation issues | 2 | 11-04-2005 11:18 PM |