Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: ufku commentedyou're wllcome