Article Details
How to enable TinyMCE the WYSIWYG text editor?
Introduction
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.Plug-in Details
Benc Enterprises AB provides a free open source plug-in to integrate TinyMCE with phpFox under the MIT License.Version: 1.0
phpFox Source Modifications: None
Official Support: Yes for the plug-in; no for the editors output.
Requirements
phpFox Version: 2.0.5 or higherImportant Notices
Since TinyMCE needs to use the style attribute the plug-in forces the script to allow it, which is something we disallow by default. Due to this and the actual product being developed by a 3rd party company (TinyMCE) we cannot support the actual output of the editor. We can support the actual plug-in, which enables the editor on certain forms. This plug-in also enables the feature "XHTML Valid". This feature cleans up any invalid HTML tags, which are usually tags that are not properly closed. This feature requires PHP DOMDocument, which is enabled by default on most PHP builds.Installing the Plug-in
1) Download the plug-in here.2) Extract and upload the contents found within the "upload/" folder to your sites root directory.
3) Log into your AdminCP and go to:
Extensions >> Product >> Import Products
4) Look for the product "TinyMCE" in the table and click the "Install" link.
Go to:
Settings >> System Settings >> Manage Settings >> Content Formatting
6) Look for the setting:
WYSIWYG Editor
set it to:
tiny_mce
Click the submit button at the bottom of that page.
TinyMCE should now have successfully been installed and enabled on your site. To test the feature try adding a new blog.
Plug-in Settings
We provide several settings you can edit direct from your AdminCP by going to:Settings >> System Settings >> Manage Settings >> TinyMCE
Upgrading TinyMCE
Note that upgrading TinyMCE is not connected in any way with upgrading phpFox or this actual plug-in. TinyMCE is independent and you can upgrade it at anytime. The source files for TinyMCE can be found on your server here:static/jscript/wysiwyg/tiny_mce/
Upgrading usually requires overwriting those files with the ones you downloaded from their website.
Comments
spudnick wrote at January 27, 2011, 5:40 pm
0 Votes 

I was able to install this and seems to be working. The problem is, what's the point of having a nice editor with formatting when once you post your text, it will display and format based on default views. I guess it would be very nice to see the formatting and fonts as designed in blogs, or email messages for example as written in the editor. I was excited to try a more rich editor though.
ras970@hotmail.com wrote at December 3, 2010, 9:25 pm
hello,
I got a blank page for my website after installing TinyMCE. How can this be corrected.My fashion of phpfox is 2.0.6
jamberfoxuser2 wrote at December 23, 2010, 7:13 pm


