I have tried all the changes in the thread but I do not get the WISSY. I have version Magento ver. 0.8.16100
I agree that having a WISSY on the CMS as well as the Product pages will be an excellent feature for my clients.
Thank you for the great work and excellent product,
Has anyone tried the edit html button in the advanced wysiwyg editor? I tired, and I am only getting an empty window popup in firefox. It also appears that the {$lang_theme_code_title} and {$lang_theme_code_wordwrap} variables are not defined as well on this page. However, the page is only static html with some javascript, no php, so perhaps the variables weren’t set properly upon installation?
Any suggestions? I tied added the fq path to the javascript references just to see if it wasn’t picking up the scripts, but that doesn’t appear to be it.
this is for the latest version of magento (0.8.16100)
since the backend now incorporates /index.php as part of the url (presumably because a lot of ppl were having url issues), it also screws up the url for tiny_mce.js (now it reads as http://www.yoursite.com/index.php/js/tiny_mce/tiny_mce.js which is wrong)
open up /lib/Varien/Data/Form/Element/Editor.php and at around line 52, where it has the following:
then do the change moshe mentions in his post above and now you have tiny_mce for your cms pages (personally i don’t see how this is useful here but meh)
Unfortunately the instructions from Moshe and iblastoff don’t work with the latest version of Magento (0.8.17240). /lib/Varien/Data/Form/Element/Editor.php has the tinyMCE.init function commented out. Uncommenting it results in a tinyMCE toolbar but no edit frame (as seen in the attached jpg).
I’m working on it, but I’ve only just started exploring Magento properly after abandoning ZenCart for an coming project.
Insert this code into the pages containing the textarea elements you wish to attach the WYSIWYG to
where would one insert this block into the pages you want affected? are there particular template files to add it to? I’m just unclear as to where to insert this block if I want it to affect the CMS pages, for example…
actually,
I placed this block in the file ‘app/design/adminhtml/default/default/template/page/footer.phtml’
(at first I put it into the ‘head.phtml’ but then I thought putting it in the footer would make more sense sine the content would be in the textareas by that point, but perhaps I’m confused as to when JS actions are triggered. its probably moot as to head or footer.)