1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| download the latest version, unzip and
upload the Ibrowser files to tiny_mce\plugins\ibrowser
select the one, 2 or more directories you want
to be able to insert images from and and upload
to and indicate them with easy to understand
names (that will show up in the interface)
in config/config.inc.php:
$cfg['ilibs'] = array (
array (
value => /path/from/webroot/images/,
text => Sprekers,
),
array (
value => /path/from/webroot/gallery/,
text => Sponsors,
),
);
chmod these directories and additionally
the directories ibrowser/scripts/phpThumb/cache
and ibrowser/temp to
755 or 777 (depending on the privileges your
webserver has -
try with 755 first if youre not sure)
copy tinyMCE.editor_plugin.js file into the
iBrowser plugin
directory and rename it to editor_plugin.js
somewhere in an included or inline javascript,
you should have the tinyMCE.init statement,
configuring your TinyMce setup:
◦look for the plugins option and add ibrowser
◦either add the ibrowser button in the
theme_advanced_buttonsX
option or add an extra
theme_advanced_buttonsX_add option
if you have used some predefined button
set (theme)
Example for the latter:
tinyMCE.init({
...
plugins : "ibrowser",
...
theme : "advanced",
theme_advanced_buttons3_add : "ibrowser",
});
And finally, if you dont find the
upload text box after
clicking the insert button, its
hidden behind the Upload Icon |
Partager