Thanks for the great work, Yoke! I got it attached to the short description. However, I get a “parse error on line 60...” message if I install the php script you posted above.
Edited:
Would like to also attach FCKeditor to Newsletter Templates and the static block editor under CMS. Does anyone know which files to modify? Thanks for everyone’s help, you’ve all been wonderful!
Update:
Got it attached to Static Block pages by changing the value for ‘wysiwyg’ from false to true in app / code / core / Mage / Adminhtml / Block / Cms / Block / Edit / Form.php
there is a thread about FCKEditor in this forum. use the search engine.
however, you should aware that FCKEditor doesn’t support writing PHP code in CMS.
Can you specify more details about the error? what page and what did you do?
also your version. thanks.
Thanks, been following the various threads regarding FCKeditor for some time. The specific error message I get is this:
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/httpd/vhosts/mydomain.com/httpdocs/magento/app/design/adminhtml/default/default/template/catalog/product/edit.phtml on line 60
Copied your code and placed it in the edit.phtml file for product editing. Error occurs on the first page when I try to add a new product. Magento version: 1.0.19870.
To simplify, why not just check whether or not the textarea element exists first? For example, adding the following for the product description works for me:
if (document.getElementById('description')) { var oFCK = new FCKeditor('description'); oFCK.BasePath = "/fckeditor/"; oFCK.ReplaceTextarea(); }
Guys, I need some help here..I’m not sure how to do this as I am not a programmer by any means. So, this is what I want to do:
I just want to simply let me client use FCKeditor for the DESCRIPTION text area when he adds a new PRODUCT. So, I opened up edit.phtml and was not sure were to paste the FCKeditor snippet. My magento installation is at: http://www.ogmda.com/magento and my FCKeditor is installed in the magento folder.
So, how would I edit the FCKeditor snippet and where would I place it in the edit.phtml file?
grab this plugin Fontis_Wysiwyg <--- search site and install
will give you option for fck editor, tinymcp, and you can se this in the back end. one thing i have noticed is that my product description don’t save when i have updated it, will scratch around and see what i can find. I am using the latest 1.1.7 version of magento
EDIT:
With FCK editor short description doesnt update, but product description does
With TinyMCP neither short, nor long description updates