Dynamic Drive just released an opensource (cross browser)
WYSIWYG editor and it's excellent!
To get this to work
without modifying any of the code of the WYSIWYG files, unzip the folder into your admin (not skin1/admin) directory.
It took me five minutes to implement on both the short and full descriptuions. Follow the instructions in the
wysiwyg_beta.zip folder and implement the following:
Code:
<script language="JavaScript" type="text/javascript" src="wysiwyg.js"></script>
Right before the closing </HEAD> tag in
skin1/admin/home.tpl
Then, open up
/main/product_details.tpl and then just add:
Code:
<script language="JavaScript">
generate_wysiwyg('wysiwyg1');
</script>
directly after the </TEXTAREA> tag of the text area that you want to have WYSIWYG.
Add the
id="wysiwyg1" to the TEXTAREA to correspond. Change the ID for multiple instances. This functionality is in X-Cart 4.1.x, but an easy (and free) implementation for earlier versions...
- Mike