One needs to modify the IMCE module in order to use IMCE to upload images.

Change (IMCE module line 11):
if (module_exists('tinyMCE') && variable_get('imce_settings_tinymce', 1) && strpos($header, 'tinyMCE.init')) {

To:
if (module_exists('moxie') && variable_get('imce_settings_tinymce', 1) && strpos($header, 'tinyMCE.init')) {

CommentFileSizeAuthor
#1 moxie.module.patch1.02 KBufku

Comments

ufku’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

hey dont hack my module :)
The patch is a proposal that allows IMCE integration for moxie.

kvarnelis@drupal.org’s picture

it works great although IMCE's presence is very subtle. I had come up with the same patch but didn't think it was working in the pop up module. a second glance said that yes it is. time to upgrade all my sites to 5.1 ... at last!

mrtoner’s picture

The browse button now appears, but I still don't get the Appearance and Advanced tabs in the "Insert/edit image" popup. No sure if this is a Moxie issue or an IMCE issue?

norrab2’s picture

Finally! I looked for 3 days for this answer! :) I almost thought I'd have to give up on my Moxie :(

greggles’s picture

The patch worked for me. I'm not 100% sure this is the right way, though.

techguy-1’s picture

The code on line 11 looks different now; I managed to get the 'browse' button by commenting out the entire if statement around it. I think the only acceptable patch until moxie and tinymce reconcile would be an additional if statement that detects either moxie, tinymce or fck.

faqing’s picture

Status: Needs review » Closed (fixed)

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 116265)