Closed (fixed)
Project:
TinyMCE
Version:
5.x-1.9-1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2008 at 05:25 UTC
Updated:
27 Aug 2008 at 23:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
weblinq commentedPlace the following code in you theme template file:
function phptemplate_tinymce_theme($init, $textarea_name, $theme_name, $is_running) {
static $access, $integrated;
if (!isset($access)) {
$access = function_exists('imce_access') && imce_access();
}
$init = theme_tinymce_theme($init, $textarea_name, $theme_name, $is_running);
if ($init && $access) {
$init['file_browser_callback'] = 'imceImageBrowser';
if (!isset($integrated)) {
$integrated = TRUE;
drupal_add_js("function imceImageBrowser(fid, url, type, win) {win.open(Drupal.settings.basePath +'?q=imce&app=TinyMCE|url@'+ fid, '', 'width=760,height=560,resizable=1');}", 'inline');
}
}
return $init;
}
Comment #2
xaviercas commentedThanks for that.
I have added the code to template.php in my theme folder, unfortunately the browse file button still does not function (FF & Safari), attached a screenshot. Thanks for your help,
xavier
Comment #3
xaviercas commentedupdated to 6.4, resolved
Comment #4
wowik73 commentedI use tinymce 1.92 module and in all browsers "upload file button" works except for IE.
If i use code from #1 -
1) work in IE but not work in other browser (FF,Mozilla,Opera)
errors:
-tinyMCELang has no properties
http://ubercart.drupal.soft.cn.ua/sites/all/modules/tinymce/tinymce/jscr...
Line 23
-tinyMCEPopup is not defined
http://ubercart.drupal.soft.cn.ua/sites/all/modules/tinymce/tinymce/jscr...
Line 10
-tinyMCEPopup is not defined
http://ubercart.drupal.soft.cn.ua/sites/all/modules/tinymce/tinymce/jscr...
Line 5
please help
Comment #5
xaviercas commentedHi,
I am not really the one to ask for help. However, I have updated to D6.4 and tynytynymece in advanced mode and it works ok. Hope that helps.
Thanks