spooks Posted September 11, 2008 Author Share Posted September 11, 2008 drop table if exists newsletters; create table newsletters ( newsletters_id int(11) not null auto_increment, title varchar(255) not null , content text not null , module varchar(255) not null , date_added datetime default '0000-00-00 00:00:00' not null , date_sent datetime , status int(1) , locked int(1) default '0' , PRIMARY KEY (newsletters_id) ); 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 September 11, 2008 Share Posted September 11, 2008 (edited) MWAH MWAH MWAH, your a star! That is one problem solved and quite unexpected lol, I am inching my way here, thanks x Edit: Works a treat, knew it would, I just need my editor back now LOL Edited September 11, 2008 by Design Recollections Quote Link to comment Share on other sites More sharing options...
spooks Posted September 11, 2008 Author Share Posted September 11, 2008 FCK is'nt set for category names, thier only small fields, it does the product descriptions. makes sure your fck instance is called with: <td><?php echo tep_draw_fckeditor('message','580','400',$message); ?></td> 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 September 11, 2008 Share Posted September 11, 2008 (edited) Yes Sam I realise that its was just the product descriptions, I have entered every product on site using the editor up until now :lol: I will go do the school run and then check the mail.php file again. Thanks :D Edited September 11, 2008 by Design Recollections Quote Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2008 Share Posted September 11, 2008 School run complete, small boy at the neighbours and isn't it amazing how many time you can look and not see :rolleyes: I had changed the sizes but not the tep_draw_textarea_field DOH!! now it reads - <td><?php echo tep_draw_fckeditor('message','580','400',$message); ?></td> Now it calls the editor but its still not right at the config, I am certain that is the problem and I cannot figure out why??? Its worked for months with these same settings. I did 'compare' with old and new and they are the same. // Path to user files relative to the document root. $Config['UserFilesPath'] = '/userfiles/' ; // 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/xxxxxxx/public_html/ribbonrie/userfiles/' ; Quote Link to comment Share on other sites More sharing options...
mitchlin71 Posted September 11, 2008 Share Posted September 11, 2008 Hi,I've installed the fck editor, but it does not appear :( and also define mainpage shows just the "define_mainpage.php" here are the screenshots please help me... Try, deleting your browser cache: - Firefox: Extra>Clean private files - Ie7: Extra>Remove Browsing history Deleting the cache, is also mentioned in the FCK Online Manual Quote Link to comment Share on other sites More sharing options...
Jol Posted September 12, 2008 Share Posted September 12, 2008 Hi! I want to change the product descriptions in the product info page. For example change the position of the product image and the product description text. I also want to add some new text fields with the addon PRODUCT EXTRA FIELD. Can I use FCKeditor for product descriptions for this? In that case do I need to change every product description for every product or do I just need to change one and use that as a template so that all product descriptions will look the same? Quote Link to comment Share on other sites More sharing options...
spooks Posted September 12, 2008 Author Share Posted September 12, 2008 Hi! I want to change the product descriptions in the product info page. For example change the position of the product image and the product description text. I also want to add some new text fields with the addon PRODUCT EXTRA FIELD. Can I use FCKeditor for product descriptions for this? In that case do I need to change every product description for every product or do I just need to change one and use that as a template so that all product descriptions will look the same? You can use fck to edit any text field. Templates can be set up with fck, refer to the fck site for info. Otherwise copy same description to all products with a query in phpmyadmin, then edit as needed. 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...
Jol Posted September 12, 2008 Share Posted September 12, 2008 You can use fck to edit any text field. Templates can be set up with fck, refer to the fck site for info. Otherwise copy same description to all products with a query in phpmyadmin, then edit as needed. How do I for example make so that the right image come up in the product info page. Do I need to write in php when I use FCKedit to do that or is it just to move the image to the right place? Does the image placement affect all product info pages or do I need to manualy fix every product info pages? Quote Link to comment Share on other sites More sharing options...
spooks Posted September 12, 2008 Author Share Posted September 12, 2008 How do I for example make so that the right image come up in the product info page. Do I need to write in php when I use FCKedit to do that or is it just to move the image to the right place? Does the image placement affect all product info pages or do I need to manualy fix every product info pages? Read the instructions Put images anywhere within descriptions. 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...
aceofspades Posted September 12, 2008 Share Posted September 12, 2008 Try, deleting your browser cache: - Firefox: Extra>Clean private files - Ie7: Extra>Remove Browsing history Deleting the cache, is also mentioned in the FCK Online Manual unfortunately it did not work.. Quote Link to comment Share on other sites More sharing options...
aceofspades Posted September 12, 2008 Share Posted September 12, 2008 Which version of FCK have you downloaded, there was a bug in one version that gave this, if you use the latest version it should be fine. I have no knowledge of define mainpage, you need to ask in another thread about that. i am using this version: All In One FCK Editor WYSIWYG Editor Quote Link to comment Share on other sites More sharing options...
spooks Posted September 13, 2008 Author Share Posted September 13, 2008 (edited) i am using this version: All In One FCK Editor WYSIWYG Editor This is the support thread for FCKeditor for Product Descriptions etc http://addons.oscommerce.com/info/2900 The version of fck within some of the editions you have downloaded is bugged, as I said make sure you download the latest from here Edited September 13, 2008 by spooks 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...
spooks Posted September 13, 2008 Author Share Posted September 13, 2008 Sorry, I'm not clear what exactly is the problem you are getting? 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...
GwilliamP Posted September 13, 2008 Share Posted September 13, 2008 unfortunately it did not work.. The editor is Java based. You are using FireFox. Do you have the NoScript add-on installed? (Tools, Add-ons)? If so, look at the bottom right of your browser and look at the 'S' icon. Does it look like this? Or does it look like this? If it looks like the second one, right click on the icon and allow scripts for the site you are working on. Then Tools, Clear Private Date, Cache. Next, refresh the page to see the editor box. Quote Link to comment Share on other sites More sharing options...
spooks Posted September 13, 2008 Author Share Posted September 13, 2008 unfortunately it did not work.. see post 103 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...
cg180659 Posted September 13, 2008 Share Posted September 13, 2008 Hi all, I must say that compared to the TinyMCE, FCK does have some advantages. But I'm having a problem. Not matter what I type into the WYSIWYG, the description has both the description and the code inside. I have tried everything. So instead of having Introducing iPhone 3G. With fast 3G wireless technology, GPS mapping, support for enterprise features like Microsoft Exchange, and the new App Store, iPhone 3G puts even more features at your fingertips. And like the original iPhone, it combines three products in one — a revolutionary phone, a widescreen iPod, and a breakthrough Internet device with rich HTML email and a desktop-class web browser. iPhone 3G. It redefines what a mobile phone can do — again. I get this: _p_Introducing iPhone 3G. With fast 3G wireless technology, GPS mapping, support for enterprise features like Microsoft Exchange, and the new App Store, iPhone 3G puts even more features at your fingertips. And like the original iPhone, it combines three products in one — a revolutionary phone, a widescreen iPod, and a breakthrough Internet device with rich HTML email and a desktop-class web browser. iPhone 3G. It redefines what a mobile phone can do — again._/p_ I really, REALLY NEED this editor, but I keep having problems with it. i have set the email options to TRUE for MIME emails, and have followed the installation instructions to a T. Please, I really need help with this. Thanks asalways. Quote SPACE FOR RENT! Link to comment Share on other sites More sharing options...
cg180659 Posted September 14, 2008 Share Posted September 14, 2008 Hi all, I must say that compared to the TinyMCE, FCK does have some advantages. But I'm having a problem. Not matter what I type into the WYSIWYG, the description has both the description and the code inside. I have tried everything. So instead of having Introducing iPhone 3G. With fast 3G wireless technology, GPS mapping, support for enterprise features like Microsoft Exchange, and the new App Store, iPhone 3G puts even more features at your fingertips. And like the original iPhone, it combines three products in one — a revolutionary phone, a widescreen iPod, and a breakthrough Internet device with rich HTML email and a desktop-class web browser. iPhone 3G. It redefines what a mobile phone can do — again. I get this: _p_Introducing iPhone 3G. With fast 3G wireless technology, GPS mapping, support for enterprise features like Microsoft Exchange, and the new App Store, iPhone 3G puts even more features at your fingertips. And like the original iPhone, it combines three products in one — a revolutionary phone, a widescreen iPod, and a breakthrough Internet device with rich HTML email and a desktop-class web browser. iPhone 3G. It redefines what a mobile phone can do — again._/p_ I really, REALLY NEED this editor, but I keep having problems with it. i have set the email options to TRUE for MIME emails, and have followed the installation instructions to a T. Please, I really need help with this. Thanks asalways. Ok, so with the help of germ, I was able to fix my problem. For anyone else out there who might be having troubles with this, please check this link for help as to how to remove the underscores from the preview: http://www.oscommerce.com/forums/index.php?showtopic=307443 Quote SPACE FOR RENT! Link to comment Share on other sites More sharing options...
inveritas Posted September 16, 2008 Share Posted September 16, 2008 Any idea how we could get this to work for multi store contribution? Quote Link to comment Share on other sites More sharing options...
cg180659 Posted September 16, 2008 Share Posted September 16, 2008 Any idea how we could get this to work for multi store contribution? Its a pretty simple install. Just install it on those 3 stores. It doesnt require any DB changes so you should be good. Quote SPACE FOR RENT! Link to comment Share on other sites More sharing options...
inveritas Posted September 16, 2008 Share Posted September 16, 2008 Its a pretty simple install. Just install it on those 3 stores. It doesnt require any DB changes so you should be good. We only have one admin, so that won't work. Quote Link to comment Share on other sites More sharing options...
cg180659 Posted September 16, 2008 Share Posted September 16, 2008 We only have one admin, so that won't work. how come? since fckeditor doesn't have anything to do with a database, it should work... oh well... sorry :blink: Quote SPACE FOR RENT! Link to comment Share on other sites More sharing options...
ntd Posted September 16, 2008 Share Posted September 16, 2008 This is a great contrib. It works great. I no it has been asked once before but I'll ask again. How to make it work for products_images ect. I have made a short tool bar for the image and I can find an image and place it in the field. The only problem is it adds all of the other code (<p><a href="/images/products/80692-sm.jpg">images/products/80692-sm.jpg</a></p>) where I only need the url (images/products/80692-sm.jpg). Any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
Slkrz Posted September 17, 2008 Share Posted September 17, 2008 I'm trying to install FCKeditor and I got this after I did all the steps... Fatal error: Call to undefined function: tep_draw_fckeditor() in c:\hosting\webhost4life\member\cgestel06\catalog\admin\categories.php on line 541 That error appears where my products description box should be.. I've already checked the code on line 541, and this is what I have.. <tr> <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td> <td><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" valign="top"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?> </td> <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> </tr> </table></td> </tr> In the help file, it says to add a directory named: userfiles to my root, so I put one into mywebhost/userfiles... however, there's also another one at mywebhost/catalog/userfiles... so which one is the one I should use in my config file? I currently put it like this.. $Config['Enabled'] = true; // Change this into: $Config['Enabled'] = true; // Path to user files relative to the document root. $Config['UserFilesPath'] = '/catalog/userfiles/'; //Change this into: $Config['UserFilesPath'] = 'http://www.yourdomain.com/webshop/userfiles/'; the oscommerce/userfiles/ of course is depending on where (folder) you installed oscommerce // 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'] = 'c:/mywebhost/userfiles/'; //Change this into: $Config['UserFilesAbsolutePath'] = '/yourdomain.com/public_html/webshop/userfiles/'; //Just open your include/configure.php and copy the path from: DIR_FS_CATALOG and add /userfiles/ after it. Can anyone help with the error? I have no idea what's causing it... Quote Link to comment Share on other sites More sharing options...
terrielee Posted September 17, 2008 Share Posted September 17, 2008 I am trying to install fck editor. Got it up and running successfully on the test site which is rc1 but unfortunatley my live site is ms2. I have a lovely picture of my cookies page where the editor is supposed to be. Any one got any ideas? Quote 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.