Closed (fixed)
Project:
IMCE
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2007 at 17:14 UTC
Updated:
23 Jul 2007 at 22:52 UTC
Problem is any edit page with IMCE causes lucid menus to disappear. The user/x/imce page is fine, just the pages where IMCE can add a link it seems. Happens in both Fire Fox and IE7, not sure about any other browser.
Folks previously reported this as a problem with Tinymce, but its not. Disable tinymce and the problem still occurs as long as IMCE is enabled. Disable IMCE and the problem goes away.
Comments
Comment #1
WorldFallz commentedturns out lucid menus works with either IMCE OR TINYMCE enabled but not both. If you enable both but remove the imc_set_tinymce.js file and refresh the browser cache, lucid menus comes back. Still working on figuring out exactly what the problem is.
Comment #2
WorldFallz commentedIts just a syntax error. Open imce_set_tinymce.js in any text editor
and change the following line (line #3) from
$(window).load(imceInitiateTinyMCE);
TO
$(window).onload(imceInitiateTinyMCE);
Thanks it... lucid menus work!
Comment #3
WorldFallz commentedok, its not really a syntax error. it just prevents imce from placing its icon in the tinymce image dialog box. so, either users can enter an image with the default tinymce dialog box OR click on the "insert image or link" link under tinymce to use IMCE. Not ideal , but acceptable for me because I have to have my lucid menus working. hopefully, someone who knows more will take a look eventually and fix this the right way.
Comment #4
ufku commentedlucid menu uses external script and it uses window.onload method, not jquery's load or ready method. the conflict is at this point. there is nothing to fix at imce side. it is ideal to make that external script play nice with jquery.
Comment #5
WorldFallz commentedfor pointing me at window.onload in the script. Change it to $(window).load() and now everything coexists peacefully.
thanks again.
Comment #6
ufku commentedyou're wllcome