spooks Posted December 2, 2008 Author Share Posted December 2, 2008 Check your install again, edits to html_output.php Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2008 Share Posted December 2, 2008 Hi Spooks, I checked it all many times, I had a friend look at it only to find that it was my fault. I neglected to add the codes to the appropriate php files. Thanks for your response & sorry to waste your time (embarrassed) Peter :) Quote Link to comment Share on other sites More sharing options...
Guest Posted December 7, 2008 Share Posted December 7, 2008 (edited) When I first started my site I painfully added 600+ items the default way, adding br code etc I have just installed this editor and bloody hell HOW MUCH EASIER is it. Many thanks for this. Simply Superb :lol: :blush: I only encountered one problem. I had to make a folder in public_html called "userfiles" Nothing goes in there when I upload pictures etc. Is that right, cheers Edited December 7, 2008 by SimpleSi Quote Link to comment Share on other sites More sharing options...
spooks Posted December 8, 2008 Author Share Posted December 8, 2008 When I first started my site I painfully added 600+ items the default way, adding br code etcI have just installed this editor and bloody hell HOW MUCH EASIER is it. Many thanks for this. Simply Superb :lol: :blush: I only encountered one problem. I had to make a folder in public_html called "userfiles" Nothing goes in there when I upload pictures etc. Is that right, cheers Yes pics are redirected to the osc default, that dir is used for other media (flash etc) Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2008 Share Posted December 8, 2008 Sound as a pound, thank a lot ;) Quote Link to comment Share on other sites More sharing options...
gaverp Posted December 15, 2008 Share Posted December 15, 2008 Just a heads up... I was having difficulty with the html tags being stripped from my html email messages when using FCKEditor and found a solution. In the ADMIN>FCKEDITOR>fckconfig.js file around line 35 change FCKConfig.FullPage = false ; change false to true and tags like HTML; BODY: BASE HREF etc. will stay intact. VERY cool contribution btw! Quote Gaver diplomacy is the art of saying "nice doggie" - while you look for a rock. Link to comment Share on other sites More sharing options...
timehost Posted December 17, 2008 Share Posted December 17, 2008 Just a heads up... I was having difficulty with the html tags being stripped from my html email messages when using FCKEditor and found a solution. In the ADMIN>FCKEDITOR>fckconfig.js file around line 35 change FCKConfig.FullPage = false ; change false to true and tags like HTML; BODY: BASE HREF etc. will stay intact. VERY cool contribution btw! When I input "test..." in send email box, it shows "<p>test...</p>" in customer's email. How to remove <p></p>? Many thanks! Quote Link to comment Share on other sites More sharing options...
Richard1969 Posted December 29, 2008 Share Posted December 29, 2008 Hello All, I've just finished installing the latest version of FCK editor 2.6.3 + Spooks install version 2.7. The editor works fine in Descriptions, Email and Newsletter manager. Also after installing Spooks Mod for sending HTML Email the images are displayed perfectly in an HTML email created via the admin. But, when i make an newsletter with the FCK editor and send it out then the images are not displayed? When i look into the source of the message the images source only holds the folder and file info but not the full path including domainname. Is there a way to get this fixed? Many thanks in advance, Richard Quote Link to comment Share on other sites More sharing options...
Atta Posted January 1, 2009 Share Posted January 1, 2009 Hi Sam, first to say is "THANK YOU" for this great contrib. I did install both OSC and this contrib with the latest versions today. Everything works fine. The only problem is the already discussed image problem. When I try to access the image folder an error message appears saying that the directory can't be created. My question now is the following. Has this code in the config file to stay like it is or do I have to adept it to my site: $Config['UserFilesPath'] = '/catalog/userfiles/' ; and $Config['UserFilesAbsolutePath'] = '/home/mysite/public_html/catalog/userfiles/' ; The full path to my site as stored in configure.php is very different from this one. Thanks for any help or basic instructions to these to lines of code. Maybe it will be usefull to add this information to the Install instructions. Regards Alex Quote Link to comment Share on other sites More sharing options...
Richard1969 Posted January 3, 2009 Share Posted January 3, 2009 My question now is the following. Has this code in the config file to stay like it is or do I have to adept it to my site: $Config['UserFilesPath'] = '/catalog/userfiles/' ; and $Config['UserFilesAbsolutePath'] = '/home/mysite/public_html/catalog/userfiles/' ; The full path to my site as stored in configure.php is very different from this one. Thanks for any help or basic instructions to these to lines of code. Maybe it will be usefull to add this information to the Install instructions. Regards Alex Hi Alex You need to adapt those lines to your situation. If you have no idea, then ask your webhosting company for your full path. Or you can check it via your Administration - Backup in the middle just below your backup files there is a little line stating the location of your backup folder. You can use this info to set up the full path for FCK Editor. Hope this helps. Best regards Richard Quote Link to comment Share on other sites More sharing options...
shona324 Posted January 10, 2009 Share Posted January 10, 2009 I wonder if someone could help. Added fckeditor and define mainpage. Seemed to work fine but now the toolbar images are broken. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2009 Share Posted January 22, 2009 (edited) I have been reading this thread over and over to learn as I am a newbie. I have not posted any questions as I have been using the search and again, reading, and reading, and reading. I have uploaded the latest version of FCK Editor .... I am using a fresh install of OSC and have installed per instructions with the 2.7 post. I pointed fck to my images folder on my server... I can get it to see all the images in my IMAGES folder. My problem is, when it uploads to the editor, it shows a break/image. When I do a property right click on the broken image... it shows a extra IMAGES folder in the path. Any ideas? I have almost memorized the /catalog/admin/fckeditor/editor/filemanager/connectors/php/config.php file, and cannot see the problem. Any and all help is appreciated! Edited January 22, 2009 by txngent Quote Link to comment Share on other sites More sharing options...
spooks Posted January 22, 2009 Author Share Posted January 22, 2009 post your code, then we may see the error. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2009 Share Posted January 22, 2009 (edited) post your code, then we may see the error. Okay, here it is... I have two catalog files (catalog and catalog2) catalog2 is for testing my OSC contributes for error, catalog is live. So, that is the reason for my "catalog2". I found that when I left off the "images" part of my direct... FCK made a images file in my core root. I want the images to all fall into the catalog/images folder if at all possible. The only thing I changed in my actual config file was my site name to xxxxxx. With this setup as the config I am getting to see the images in FCK editor when I click on either one of the image buttons -> browse server, but then once I select the image, I get a broken image sign or the words "submit query". Thanks again for all the help to one old man. ***************************************************************** <?php /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright © 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licenses/gpl.html * * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") * http://www.gnu.org/licenses/lgpl.html * * - Mozilla Public License Version 1.1 or later (the "MPL") * http://www.mozilla.org/MPL/MPL-1.1.html * * == END LICENSE == * * Configuration file for the File Manager Connector for PHP. */ global $Config ; // SECURITY: You must explicitly enable this "connector". (Set it to "true"). // WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only // authenticated users can access this file or use some kind of session checking. $Config['Enabled'] = true ; // Path to user files relative to the document root. $Config['UserFilesPath'] = '/home/content/t/x/n/txngent/html/xxxxxxxxxxx/catalog2/images/' ; // Fill the following value it you prefer to specify the absolute path for the // user files directory. Useful if you are using a virtual directory, symbolic // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. // Attention: The above 'UserFilesPath' must point to the same directory. $Config['UserFilesAbsolutePath'] = '/home/content/t/x/n/txngent/html/xxxxxxxxxx/catalog2/images/' ; // Due to security issues with Apache modules, it is recommended to leave the // following setting enabled. $Config['ForceSingleExtension'] = true ; // Perform additional checks for image files. // If set to true, validate image size (using getimagesize). $Config['SecureImageUploads'] = true; // What the user can do with this connector. $Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder') ; // Allowed Resource Types. $Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash', 'Media') ; // For security, HTML is allowed in the first Kb of data for files having the // following extensions only. $Config['HtmlExtensions'] = array("html", "htm", "xml", "xsd", "txt", "js") ; // After file is uploaded, sometimes it is required to change its permissions // so that it was possible to access it at the later time. // If possible, it is recommended to set more restrictive permissions, like 0755. // Set to 0 to disable this feature. // Note: not needed on Windows-based servers. $Config['ChmodOnUpload'] = 0777 ; // See comments above. // Used when creating folders that does not exist. $Config['ChmodOnFolderCreate'] = 0777 ; /* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Configuration settings for each Resource Type - AllowedExtensions: the possible extensions that can be allowed. If it is empty then any file type can be uploaded. - DeniedExtensions: The extensions that won't be allowed. If it is empty then no restrictions are done here. For a file to be uploaded it has to fulfill both the AllowedExtensions and DeniedExtensions (that's it: not being denied) conditions. - FileTypesPath: the virtual folder relative to the document root where these resources will be located. Attention: It must start and end with a slash: '/' - FileTypesAbsolutePath: the physical path to the above folder. It must be an absolute path. If it's an empty string then it will be autocalculated. Useful if you are using a virtual directory, symbolic link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. Attention: The above 'FileTypesPath' must point to the same directory. Attention: It must end with a slash: '/' - QuickUploadPath: the virtual folder relative to the document root where these resources will be uploaded using the Upload tab in the resources dialogs. Attention: It must start and end with a slash: '/' - QuickUploadAbsolutePath: the physical path to the above folder. It must be an absolute path. If it's an empty string then it will be autocalculated. Useful if you are using a virtual directory, symbolic link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. Attention: The above 'QuickUploadPath' must point to the same directory. Attention: It must end with a slash: '/' NOTE: by default, QuickUploadPath and QuickUploadAbsolutePath point to "userfiles" directory to maintain backwards compatibility with older versions of FCKeditor. This is fine, but you in some cases you will be not able to browse uploaded files using file browser. Example: if you click on "image button", select "Upload" tab and send image to the server, image will appear in FCKeditor correctly, but because it is placed directly in /userfiles/ directory, you'll be not able to see it in built-in file browser. The more expected behaviour would be to send images directly to "image" subfolder. To achieve that, simply change $Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ; $Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ; into: $Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ; $Config['QuickUploadAbsolutePath']['Image'] = $Config['FileTypesAbsolutePath']['Image'] ; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */ $Config['AllowedExtensions']['File'] = array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip') ; $Config['DeniedExtensions']['File'] = array() ; $Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'file/' ; $Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ; $Config['QuickUploadPath']['File']= $Config['FileTypesPath']['File'] ; $Config['QuickUploadAbsolutePath']['File']= $Config['FileTypesAbsolutePath']['File'] ; $Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ; $Config['DeniedExtensions']['Image'] = array() ; $Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . '../images/' ; $Config['FileTypesAbsolutePath']['Image'] = ($Config['UserFilesAbsolutePath'] == '') ? '' :$Config['UserFilesAbsolutePath'].'../images/' ; //($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ; $Config['QuickUploadAbsolutePath']['Image']= $Config['FileTypesAbsolutePath']['Image'] ; $Config['AllowedExtensions']['Flash'] = array('swf','flv') ; $Config['DeniedExtensions']['Flash'] = array() ; $Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ; $Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ; $Config['QuickUploadPath']['Flash'] = $Config['FileTypesPath']['Flash'] ; $Config['QuickUploadAbsolutePath']['Flash']= $Config['FileTypesAbsolutePath']['Flash'] ; $Config['AllowedExtensions']['Media'] = array('aiff', 'asf', 'avi', 'bmp', 'fla', 'flv', 'gif', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'png', 'qt', 'ram', 'rm', 'rmi', 'rmvb', 'swf', 'tif', 'tiff', 'wav', 'wma', 'wmv') ; $Config['DeniedExtensions']['Media'] = array() ; $Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ; $Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ; $Config['QuickUploadPath']['Media'] = $Config['FileTypesPath']['Media'] ; $Config['QuickUploadAbsolutePath']['Media']= $Config['FileTypesAbsolutePath']['Media'] ; ?> ************************************************** Thanks again! Edited January 22, 2009 by txngent Quote Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2009 Share Posted January 24, 2009 Sorry for the long post. It seems that I cannot edit it out. UPDATE: I have reinstalled the whole contribution in hopes to fix anything that I may have screwed up. I am still getting the broken picture image when I select a image from the server. If I accept the broken image and go to the editor page, I get "submit query". Any ideas? Am I missing something? I admit to reading and reading, but maybe I am missing something in translation. All I have edited was the two areas instructed in the update. Thanks again for all the help and support. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2009 Share Posted January 24, 2009 (edited) Sorry for the long post. It seems that I cannot edit it out. UPDATE:Fixed.... I somehow managed to point the editor config to the correct file. Thanks again for all the help. Edited January 24, 2009 by txngent Quote Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2009 Share Posted January 24, 2009 (edited) Is there a way to place all the images uploaded in a folder instead of just dropping them into the "images" folder with everything else? When I change the path from /userfiles/ , to /userfiles/products/ .... it goes back to the broken image thing and I don't want that ever again!!!! :rolleyes: Edited January 24, 2009 by txngent Quote Link to comment Share on other sites More sharing options...
pete2007 Posted January 28, 2009 Share Posted January 28, 2009 Hi, I installed the "All In One FCK Editor WYSIWYG Editor" but is there a way to remove it just from the configuration.php within the admin section? Any help or advice would be most appreciated! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2009 Share Posted January 30, 2009 How many image will the editor allow in a product description? Can I just use button images in the editor and when the customer clicks on them they will popup as a enlargement? My goal is to have 15 images in the description. It would be great to do this with FCK versus having to go with another contribution that may conflict with the editor. Thanks again. Quote Link to comment Share on other sites More sharing options...
spooks Posted February 6, 2009 Author Share Posted February 6, 2009 You can have as many images as you wish, no limit. To link to large image, insert the small image, then use the link option within image properties to point to the large image on the server. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted February 6, 2009 Share Posted February 6, 2009 You can have as many images as you wish, no limit. To link to large image, insert the small image, then use the link option within image properties to point to the large image on the server. Thanks Spooks. I have added a slideshow to my items, but still would like to have all the pics in the description. Thanks again for the help! Quote Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2009 Share Posted February 9, 2009 (edited) hello everyone i have clean install of v2.2 rc2 oscommerce i have tried to install the latest version fckeditor 2.6.3 i keep getting this message Fatal error: Class 'FCKeditor' not found in /home/freemywi/public_html/catalog/admin/includes/functions/html_output.php on line 273 i have checked and checked but i cant find the problem , can some one please help me. i have included the code below $compare); } //// // Output a form textarea field function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { global $HTTP_GET_VARS, $HTTP_POST_VARS; $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( ($reinsert_value == true) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) { if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_GET_VARS[$name])); } elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) { $field .= tep_output_string_protected(stripslashes($HTTP_POST_VARS[$name])); } } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; return $field; } //// // 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; } Edited February 9, 2009 by missery Quote Link to comment Share on other sites More sharing options...
spooks Posted February 9, 2009 Author Share Posted February 9, 2009 Do the install again, as despite your 'checking' you have clearly failed to follow the instructions!!!! ps require("fckeditor/fckeditor.php"); Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2009 Share Posted February 9, 2009 (edited) Do the install again, as despite your 'checking' you have clearly failed to follow the instructions!!!! ps require("fckeditor/fckeditor.php"); thanks for your reply , sorry to sound so noobish but what does " ps require("fckeditor/fckeditor.php"); mean ?" can you point me in the right direction , also do you have an updated install guide , i am using this guide this version is compatible with the recent version of oscommerce of 13 November 2005 the version called: osCommerce 2.2 Milestone 2 Update 051113 FCKeditor for Product Descriptions created by Nick Marques 6 Feb 2005 this version include: - the firts verion created by Nick Marques on 6 Feb 2005-- Nick Marques [email protected] 6 Feb 2.005 -- Version FCKeditor for Product Descriptions - the firts fix: Doku-Fix version , kofl , 2 Oct 2005 - the second fix: Small Update (added "echo" for tep_draw_fckeditor , ckmuc , 30 Oct 2005 - and a fix to the version osCommerce 2.2 Milestone 2 Update 051113 DESCRIPTION ----------- Dir. contribution: http://www.oscommerce.com/community/contributions,2900 This is my simple MOD to osCommerce 2.2 MS2 that adds the wonderful FCKeditor WYSIWYG editor to osCommerce. FCKeditor 2.0 RC2 is the version I am adding, but depending on updates, it should work with future versions. I am not a developer of FCKeditor... I'm just a user of it describing how to add it to osCommerce. FCKeditor is very easy to install and is completely usable sitewide, in place of virtually any textarea or textbox. It can be highly customized for your needs or preferences. This describes how to install it for editing product descriptions Demo FCKeditor: http://www.fckeditor.net/demo/demo02.html INSTALLATION ----------- 1. Download FCKeditor http://www.fckeditor.net/ version at 11/18/2.005: FCKeditor 2.1.1 this include a directory called FCKeditor 2. Installation of FCKeditor 2.1 put it in the admin directory install it at http://www.yoursite.com/admin/FCKeditor/ in catalog/admin/FCKeditor/ in http://www.yoursite.com/admin/FCKeditor/_samples/default.html you can see a demo 2.2 changeds to files: ---------------------- ######## OPEN ######## /admin/categories.php ###################### ######## FIND (LINE 538) ######## <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td> ################################# ######## REPLACE WITH ######## ######## You may edit the 600 and the 300 in ######## ######## this line to change the height and ######## ######## width of the editor ######## <td class="main"><?php echo tep_draw_fckeditor('products_description[' . $languages[$i]['id'] . ']','600','300',(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td> ############################## ######## OPEN ######## /admin/includes/functions/html_output.php ###################### ######## FIND (LINE 13-14) ######## //// // The HTML href link wrapper function ################################### ######## BEFORE ADD ######## require("FCKeditor/fckeditor.php"); ############################ ######## FIND (LINE 235-253) ######## //// // Output a form textarea field function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) { $field .= tep_output_string_protected(stripslashes($GLOBALS[$name])); } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; return $field; } #################################### ######## AFTER ADD ######## //// // 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; } ########################### 3. Go to Administration >> Catalog >> Categories/Products edit any of the products to see the FCKeditor in the description of a product regards Edited February 9, 2009 by missery Quote Link to comment Share on other sites More sharing options...
thecandlespastore Posted February 9, 2009 Share Posted February 9, 2009 Group: Community Member Posts: 44 Joined: 5-November 06 Member No.: 135,390 When I try to do a search for a product or fragrance in my shop I get this message: 1146 - Table 'zajanat_oscstore.TABLE_PRODUCTS_IMAGES' doesn't exist select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id left join TABLE_PRODUCTS_IMAGES pi on p.products_id = pi.products_id , products_description pd, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and pi.product_page = '1' and ((pd.products_name like '%vanilla%' or p.products_model like '%vanilla%' or m.manufacturers_name like '%vanilla%') ) the shop is http://www.zajanatural.com It has been like this for about a week, I have been trying to find a fix. I believe the contrib I installed right before this happened was the FCK html editor, but that works fine (I remember having to tweak it a bit to work for me.) I did try to install more pics but that did not work so I gave up. Can anyone please help me find a solution to this error message? Thanks, Quote Always grateful for any help received!! Link to comment Share on other sites More sharing options...
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.