Category:Extensions -> WYSIWYG
How to get ibrowser working in tinymce:
#Download the ibrowser plugin from http://j-cons.com/downloads/
#Place it in your tinymce/jscripts/tiny_mce/plugins/ folder
#Setup an image folder for EE with write permissions 755 and update the config.inc.php file in the config folder of ibrowser to mark the place of your image uploads in line 96 (example contains the standard upload folder from EE):
$cfg['ilibs'] = array (
array (
'value' => '/images/uploads/,
'text' => 'Site Pictures',
),
);
#Make sure the following directories have permission (chmod to 0755):
ibrowser/scripts/phpThumb/cache - should there be any files already, please delete those!!!
ibrowser/temp
#Copy the file tinyMCE.editor_plugin.js and tinyMCE.editor_plugin_src.js (or tinyMCE 2.05_editor_plugin.js and tinyMCE2.05_editor_plugin_src.js if you are using v2.05+ of tinyMCE) from the interface folder in the ibrowser folder into the main ibrowser folder and rename it to editor_plugin.js and editor_plugin_src.js
#In the EE control panel go to the extensions manager and select settings for the tinymce plugin.
Append this text to the current configuration you have to add ibrowser to the plugin list and include ibrowser as a button. Make sure the LAST entry you have for you current configuration has a comma (,) at the end or this will not wor.
I’ve also added code to set the relative URL to false in tiny MCE, because Ibrowser will try to set a absolute URL by default (which is better for EE)
Basic version:
mode : "textareas",
plugins : "ibrowser",
theme_advanced_buttons1: "pastetext, ibrowser, bold, italic, bullist, numlist, undo,redo, link, unlink, cleanup, removeformat,code",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
relative_urls : false
Or more advanced:
mode : "textareas",
plugins : "ibrowser,table,advlink,spellerpages,paste",
theme_advanced_buttons1: "bold, italic, bullist, numlist, undo,redo, link, unlink, cleanup, removeformat, formatselect",
theme_advanced_buttons2: "tablecontrols,outdent,indent,hr,justifyleft,justifycenter,justifyright,justifyfull,spellerpages,pastetext,pasteword,code",
theme_advanced_buttons3: "ibrowser",
relative_urls : false
If it doesn’t work for you make sure the last line of the configuration before you added ibrowser ends with a comma.
