Updated HOW TO: Add FONT Buttons TinyMCE WYSIWYG
Posted: Tue Feb 26, 2008 9:51 pm
By Default TinyMCE is configured in Joomla so that functions such as Font Size, Color, Style, etc are not enable and are controlled by the CSS code. For many this is a pain so I dug around and found a way to impchange the options avaliable to the user in TinyMCE Editor.
Options for the TinyMCE Mambot were found at
http://wiki.moxiecode.com/index.php/TinyMCE:Index
Here is what I did to make it work in Joomla 1.0x
Open .../joomla/mambots/editors/tinymce.php
Look around lines 126 - 136 for the following code
$plugins[] = '';
$buttons2[] = '';
$buttons3[] = '';
$elements[] = '';
EDIT IT:
$plugins[] = '';
$buttons2[] = 'fontselect,fontsizeselect';
$buttons3[] = 'forecolor,backcolor';
$elements[] = '';
Save and close the file.
Options for the TinyMCE Mambot were found at
http://wiki.moxiecode.com/index.php/TinyMCE:Index
Here is what I did to make it work in Joomla 1.0x
Open .../joomla/mambots/editors/tinymce.php
Look around lines 126 - 136 for the following code
$plugins[] = '';
$buttons2[] = '';
$buttons3[] = '';
$elements[] = '';
EDIT IT:
$plugins[] = '';
$buttons2[] = 'fontselect,fontsizeselect';
$buttons3[] = 'forecolor,backcolor';
$elements[] = '';
Save and close the file.