Topic: Ibrowser works, partially
I have been playing with tinymce the entire evening and i stumbled across a plugin called ibrowser. This is really a great plugin. I installed it and after a few hours of fiddling i got this far:
it opens the ibrowser plugin when i select the ibrowser button in tinyMCE (which btw is called {$lang_ibrowser_desc} which means it has not read the language file)
I CAN select images, upload images and delete images
i CAN't change width / height propertise
I DON't see the language files...
I think the problem has something to do with "editor_plugin.js" since that file holds the path to the language files AND the extra function for width / height etc. which i can't use.
Can anyone help me out?
Here is the error:
An error has occured on this page
Line 195
Char 13
Syntax Error
Code: 0
URL: http://localhost/tinymce/jscripts/tiny_mce/plugins/ibrowser/ibrowser.phpMy config looks like this:
// ================================================
// v.1.0, 2004-10-04
// ================================================
// edit:
// Plugin seems to work in nearly all browsers now
// sk@mandarin-medien.de (2005)
// directory where tinymce files are located
$tinyMCE_dir = '\rockdesign\conservationcareFinal\classes\jscontenteditor\tinymce\jscripts\tiny_mce\';
// base url for images
$tinyMCE_base_url = 'http://localhost';
$tinyMCE_DOC_url = 'C:/wamp/';
$SCRIPT_NAME=str_replace("//","/",str_replace("\","/",$_SERVER["SCRIPT_NAME"]));
$SCRIPT_FILENAME=str_replace("//","/",str_replace("\","/",$_SERVER["SCRIPT_FILENAME"]));
$HTTP_SERVER_VARS['DOCUMENT_ROOT']=substr($SCRIPT_FILENAME,0,strlen($SCRIPT_FILENAME)-strlen($SCRIPT_NAME));
unset($SCRIPT_NAME);
unset($SCRIPT_FILENAME);
// image library related config
// allowed extentions for uploaded image files
$tinyMCE_valid_imgs = array('gif', 'jpg', 'jpeg', 'png');
// allow upload in image library
$tinyMCE_upload_allowed = true;
// allow delete in image library
$tinyMCE_img_delete_allowed = true;
// image libraries
$tinyMCE_imglibs = array(
array(
'value' => '/images/',
'text' => 'Images',
)
);
// file to include in img_library.php (useful for setting $tinyMCE_imglibs dynamically
// $tinyMCE_imglib_include = '';Any help is appreciated. I really enjoy working with this editor and i would love to use it in future projects...
- Roderik ![]()