Hi,

I have installed Drupal 5.1 with Moxie for using TinyMCE. Both have worked fine. But now I have installed IMCE. After the installation TinyMCE opens no new window if I click on the image button or the link button. If I will enable "Advanced image" and "Advanced link", TinyMCE opens the windows. But there are no "Browse" buttons. In the user profile area, I can use IMCE without TinyMCE perfectly. What can I do?

Thanks,
pmw

Comments

faqing’s picture

Look at here:

http://drupal.org/node/116837
You can use ufku's patch. Or ...

pmw’s picture

Hi faqing,

Thank you for your answer! The patch works fine with "Advanced image" and "Advanced link". Is there a way to fix the simple windows for images and links? The windows still don't open. I get instead of a new window a javascript error.

Bye,
pmw

faqing’s picture

I did not use the patch; I change the IMCE module line 11. See the same link above.

pmw’s picture

I have changed the IMCE module line 11, too. I don't think that is the error that the simple image and link windows don't open in line 11.

Edit: The error is in the TinyMCE Compressor. If I disable the TinyMCE Compressor, it works. Now I try to find the error in the TinyMCE Compressor.

bengtan’s picture

I have a similar problem with a resolution. When I'm using the TinyMCE Compressor, the image button doesn't pop up a window.

In the Compressor's tiny_mce_gzip.js file (line 3 ish), it is loading the advimage and advlink plugins automatically, which will override the "image" and "link" buttons. However, if you don't have "Advanced Image" and "Advanced Link" configured in your TinyMCE profile, then the plugins aren't actually loaded so when you click on the button, the popup windows don't appear.

A fix for this is to enable "Advanced Image" and "Advanced Link" in your TinyMCE profile, or else change tiny_mce_gzip.js (line 3 ish) to remove "advimage,advlink" from the line

plugins : 'style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras',

Ta,
Beng

Edit: Oh, you may need to delete files with a filename similar to tiny_mce_1ecbda12afa69ce3272a4efd707b5781.gz in your /modules/tinymce/tinymce/jscripts/tiny_mce directory. I think these are caches.