|
Mamblog Full Formatting Support Hack |
|
|
|
|
Written by Brat
|
|
Wednesday, 15 November 2006 |
Question
How do I let users use a wysiwyg editor and keep the full formatting?
Answer
These are instructions on how to allow your users to use a wysiwyg editor for full formatting and to upload and enter images into their entries.
The instructions were written by Brat from the forum.
The next patch release of Mamblog will add support for this so that the hack won't be necessary.
- Step 1)
Apply the Mamblog Full Formatting hack. Remove the HTML stripping feature from Mamblog. Do this by editing showblogs.php and commenting out lines 470-472 (this should be an else statement that contains the stripping call. The lines should look similar to the following:
else {
$text = safeStrip( $text );
}
Just comment these out.
- Step 2)
Install JCE Editor (version 1.1.x) and make this the default WYSIWYG editor (instead of TinyMCE). For more information, and a complete list of plugins and support, please go to the editor�s home site, located here: http://www.cellardoor.za.net. You also need to download and install the JC Editor Administration component � this allows for easy administration of the various JCE features via Joomla administrative backend.
- Step 3)
Then, download and install the ImageManager and/or MediaManager plugins, depending upon what you want to allow. ImageManager allows members to upload pictures; MediaManager allows members to upload and imbed movies (i.e., flash, etc.) into their blogs or other submissions (depending upon level of access). This allows Joomla to create member subdirectories and effectively "jail" members to those directories. Only Admins and Superadmins can tip into all directories.
Note: Plugin access can be based on user level. For example, ImageManager can be enabled for all Registered members, but Authors, Editors and Publishers get MediManager access.
Please remember � you must install and setup the core JCE mambot and associated plugins properly for this to work. If you need assistance doing this, please first read the documentation available at the JCE home site.
- Step 4)
There is a frontend editor bug with JCE. To get JCE to work as it should, you need to download and replace an existing file. Full documentation (including the download) is located here.
|