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.
I'm trying to use IMCE 6.x-1.x with TinyMCE 6.x-1.x and pressing "Insert/edit image" shows dialog that doesn't have the button that starts IMCE. I think I've done everything needed for configuring both modules. Any directions what to check? I'm using PostgreSQL 8.3 and this may be an issue.
Comment | File | Size | Author |
---|---|---|---|
#92 | prt-upload-tinymce.jpg | 31.55 KB | tazir1 |
#76 | tinymce.module.txt | 28.49 KB | tsavino |
#54 | imce-browse.png | 32.4 KB | quicksketch |
#47 | tinymce_imce_integration.patch | 1.41 KB | quicksketch |
Comments
Comment #1
Eugene.Korneev CreditAttribution: Eugene.Korneev commentedi have same issue... (d6.1, IMCE 6.x-1.x, TinyMCE 6.x-1.x (tinymce 2.3.1), mysql, standart Garland theme with $closure etc... all profiles and permissions ok)
but not browse button ?!
maybe need add integration ?!
Comment #2
ufku CreditAttribution: ufku commentedComment #3
ogi CreditAttribution: ogi commentedAfter adding this function, the button is shown and works!
Comment #4
Eugene.Korneev CreditAttribution: Eugene.Korneev commentedworks fine (for me...)
Comment #5
ufku CreditAttribution: ufku commentedhere is a better implementation which fixes repeating code inclusion when there is multiple instances of tinyMCE.Besides, it uses window focus/blur instead of open/close, which prevents consecutive page loads for multiple image insertion.
Comment #6
ausvalue CreditAttribution: ausvalue commentedIs IMCE going to be integrated with TinyMCE properly?
Please, please, pretty please,please implement properly.
I like to set up my users (Club admins, association admins, small biz) with a large number of available themes that they can try out for themselves. Sometimes they may even download more themes and try them out.
These user administrators etc need to be able to just download a theme and try it out. They don't have enough experience to go modifying source code for each one.
Is there any date for when this is likely to be done?
Also, until it is integrated into TinyMCE again, can you please add a note into the IMCE README.txt. For those of us that were use to IMCE being automatically compatible with TinyMCE, the lack of any note in this README.txt that it was currently downgraded took up a lot of my time before I found these posts.
Thanks
Comment #7
TheRawGod CreditAttribution: TheRawGod commentedufku,
yours implemetation does get the proper button shown and working on tinymce add image / add link dialogs, but does not get "Send to TinyMCE" link shown on opened imce's browse page...
At least for me :)
Comment #8
ufku CreditAttribution: ufku commented@TheRawGod; can you give more details? Browser? errors?
@AusValue; you can add it to phptemplate.engine, though it would be a core-hack.
Comment #9
crutch CreditAttribution: crutch commentedCorrect. Experiencing the same. The code above initiates, and makes usable, IMCE from TinyMCE but it does not allow IMCE to write back URL for image to TinyMCE. Would this be a TinyMCE issue or IMCE issue?
Thanks! I enjoy both modules.
Comment #10
RwDwR CreditAttribution: RwDwR commentedI cannot make this code work for IE 7. I do get the IMCE button and the window opens. But the imceOnLoad doesn't seem to be executed as I added alerts in the code that show in firefox but not in IE7. This is a problem because I'm not getting the "Send to TinyMCE" button....
Comment #11
ufku CreditAttribution: ufku commentedAt last, someone providing at least the browser info, thank you RwDwR.
Issue was IE handling the onload function as an object. Fixed and commited to 6-1 branch.
Comment #12
drgonzo121 CreditAttribution: drgonzo121 commentedhttp://www.jotiethooft.be/node/24
here is a pic of the pop-up box of tinymce, any ideas what can be wrong?
thanks
the IMCE looks to work.
thx
Comment #13
CyberThijs CreditAttribution: CyberThijs commentedIt looks like you forgot to install the ducht language pack.. You can download this languagepack on http://services.moxiecode.com/i18n/ .
Comment #14
crutch CreditAttribution: crutch commentedI've updated and it is now working with "Send to TinyMCE" link in file browser and it properly sends link to TinyMCE. Much thanks!!
Best regards,
Crutch
Comment #15
pellegrino CreditAttribution: pellegrino commentedit worked for me too. uber ghetto.
Comment #16
HHHoagie CreditAttribution: HHHoagie commentedI have this stupid question. I'm using the pushbutton theme and I can't find the template.php file. I see that file in the garland theme. Am I overlooking it or what?
Thanks for any advice.
Bob
Comment #17
ag4apple CreditAttribution: ag4apple commentedUmmm . . . maybe I'm doing something wrong. I have tried both of these functions (separately, of course). And neither one works. I'm using the Four seasons theme 6.x-1.18, Drupal 6.2, IMCE 6.x-1.x-dev, and TinyMCE 6.x-1.1-dev. When I add either of the above functions to the Four seasons template.php file, I refresh the view on my site, and my browser displays . . . nothing. Not a blessed thing. Totally white. Viewing the source of the page also reveals nothing . . . no code at all.
Remove the function and saving the file returns everything back to normal. But, I can't get IMCE to work of course without this function . . .
I'm still kind of a newbie at Drupal, so does anyone have any thoughts as to what I'm doing wrong?
Comment #18
ausvalue CreditAttribution: ausvalue commentedIt appears that not all themes have a template.php file. I got one of my Vers 6 Drupal themes to work with TinyMCE and IMCE by pasting the recommended code into an empty text file, naming it template.php and adding it to the theme.
Regards
Ken
Comment #19
HHHoagie CreditAttribution: HHHoagie commentedOh! good Idea, Ken. I'll do that... Thanks
Bob
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #21
rachmaninovbs CreditAttribution: rachmaninovbs commentedquote
Ummm . . . maybe I'm doing something wrong. I have tried both of these functions (separately, of course). And neither one works. I'm using the Four seasons theme 6.x-1.18, Drupal 6.2, IMCE 6.x-1.x-dev, and TinyMCE 6.x-1.1-dev. When I add either of the above functions to the Four seasons template.php file, I refresh the view on my site, and my browser displays . . . nothing. Not a blessed thing. Totally white. Viewing the source of the page also reveals nothing . . . no code at all.
Remove the function and saving the file returns everything back to normal. But, I can't get IMCE to work of course without this function . . .
I'm still kind of a newbie at Drupal, so does anyone have any thoughts as to what I'm doing wrong?
quote
I've the same problem.... who have the solution?
Comment #22
pindaman CreditAttribution: pindaman commentedTinyMCE works with IMCE,
But when i press "save" button i return to a blank page.
What am I Doing wrong?
Comment #23
robdinardo CreditAttribution: robdinardo commentedThis worked for me too! I used then shorter integration method (which uses the open/close) Thanks.
Comment #24
visionmark CreditAttribution: visionmark commentedI just installed this and it's not working. Im in Drupal 6 with IMCE 6.x-1.0. Everything works fine, but theres no signs of any IMCE in my TinyMCE WYSIWYG. No errors. No nothing. It just doesnt appear. I put the code in my template.php file and I've cleared the cache from performance, theme, in the browser, and directly in the database. Nothing.
Any ideas?
Comment #25
schnabis CreditAttribution: schnabis commentedI have same problem. TinyMCE works with IMCE,
But when i press "save" button i return to a blank page. Ther is no image.
What am I Doing wrong?
Comment #26
marcelosite CreditAttribution: marcelosite commentedI'm using TinyMCE 6.x-1.1-dev
http://drupal.org/node/240936
I put the code in my template.php file and I've cleared the cache from performance, theme, in the browser, and directly in the database. Nothing.
I just installed drupal, TinyMCE, IMCE right now
Get the latest files frow web.
Please help.
Comment #27
ogi CreditAttribution: ogi commentedPlease be careful not to change fields accidentally.
Comment #28
pgfowler1 CreditAttribution: pgfowler1 commentedI am trying to use IMCE 6.x.1.x-dev with Tiny MCE and have followed the steps to get it working outlined above but with only partial success. On 2 PC's it works fine - but on one PC - no link graphic appears. All the PC are using Firefox versions 2.14 and/or 3.0. On a Mac again no icon using safari and Firefox.
I am working on a collaborative project, so consistency is needed.
Am very keen to get it working properly as it is a great module
Any ideas?
Comment #29
pgfowler1 CreditAttribution: pgfowler1 commentedNote this issue status is closed.
Suggest it is made active again.
Comment #30
thijsvdanker CreditAttribution: thijsvdanker commentedI'm not seeing the button either
TinyMCE 6.x-1.1-dev and IMCE 6.1.1 on firefox 3, IE 6 and IE 7
--Edit--
My bad, I'm using Garland as the admin theme, and tried to enable it in my_own_theme's template.php...
Editting it in de Garland template.php got it to work!
Comment #31
AdrianB CreditAttribution: AdrianB commentedUsing the first example from comment #2 I solved this problem for me using the latest version of TinyMCE module (6.x-1.1-dev), TinyMCE engine (3.0.9) and IMCE (6.x-1.0) with Drupal 6.2. I simply pasted the code in a new template.php file (since there were none) and placed it in my active theme directory.
Is this by design or will this be fixed?
I know the README.txt has a link to comment #2 (although I discovered it afterwords), but from a user perspective one would wish it worked right from start.
Comment #32
thecorkboard CreditAttribution: thecorkboard commentedDo I need to edit the PHP function above with anything? This is the code I used:
and I get this error:
Comment #33
swirtRan into same issues with tinymce and imce. Could not resolve them. Switched to using FCKeditor and Imce and the are both playing together nicely.
Comment #34
g76 CreditAttribution: g76 commentedsubscribing...
Comment #35
klaasvanschelven CreditAttribution: klaasvanschelven commentedI'm not sure if someone is actually looking at this. It seems to be a very long thread with people reporting similar problems and no responses. Anyway, I'll try to put in a more detailed error report.
When I do the above (comment #2) everything works fine for Firefox. However, on I.E., the IMCE doesn't open up from clicking the button in the TinyMCE add image dialog box. I.E. also reports a (presumably Javascript) error:
Line: 26
Char: 5
Error: 'Drupal' is undefined
Code: 0
URL: (censored)
This is on I.E. 7.0.5730.11
--
Klaas van Schelven,
www.xaba.nl
Comment #36
klaasvanschelven CreditAttribution: klaasvanschelven commentedThis is what line 25 - 27 of my page (not incl. js.) code look like:
Comment #37
silvanasono CreditAttribution: silvanasono commentedYou are right.
In some themes there is a missing code line.
To be precise, in themes/yourselectedtheme/page.tpl.php, there should be:
<?php print $closure ?>
just before
</body>
</html>
It includes the initialization of the javascript variable imceBrowserURL and the file imce_set_tinymce.js where there is the function for the popup (imceImageBrowser).
Cheers
Comment #38
verres CreditAttribution: verres commentedI'm using Amadou theme.
I've tried to insert the function into the template.php file but it's not working.
The site loads up with the new template, but when I go to edit a node, I get the following error:
Fatal error: Cannot redeclare phptemplate_tinymce_theme() (previously declared in /home/content/i/c/e/icecricket/html/themes/amadou/template.php:131) in /home/content/i/c/e/icecricket/html/themes/amadou/template.php on line 165
I checked the page.tpl.php file and it has the correct
print $closure
line.Does this make sense to anyone - i'm still too new to be able to diagnose the error.
thanks,
C
Comment #39
ufku CreditAttribution: ufku commentedforget about the $closure, it is required for 5.x
Your error message is clear. You can not define the same function twice. delete the second one on line 165.
Comment #40
webchickI'm thinking that with the new D6 theme system and its theme registry goodness there has to be a way to do this in IMCE's code without requiring a change to template.php. Or at least I sure hope so, cos I want to feature it in the O'Reilly book and I'd rather not get people digging into template.php in chapter 2. ;)
Will be digging into this today...
Comment #41
ufku CreditAttribution: ufku commented@webchick: In IMCE 6.x I removed the default support for other modules leaving the integration issue to module developers. I think tinymMCE-IMCE integration should be implemented at tinyMCE side. There are many examples(FCKEditor, BUEditor, WYMeditor..) doing so.
To show how simple it is, here is a two-steps integration
1- define the configuration option
file_browser_callback: 'imceBrowser'
2- define the callback
function imceBrowser(fid, url, type, win) {win.open('/?q=imce&app=TinyMCE|url@'+ fid)}
Comment #42
verres CreditAttribution: verres commentedthanks UFKU,
I don't know why I couldn't get that to work before - but I repasted it into the template.php, and as you said...it worked.
Thanks for all the work you've done on IMCE and for responding to my post.
-c
Comment #43
yuriy.babenko CreditAttribution: yuriy.babenko commentedufku,
Awesome, thanks so much for the solution.
I've been struggling with this problem for the last 2 hours, and finally found your post! Worked like a charm.
Comment #44
rhlowe CreditAttribution: rhlowe commentedThe above method (#2) worked perfect for me in TimeMCE's default locations, e.g.,
node/*
user/*
comment/*
However when I added TinyMCE to 'admin/build/block/*' so tat the editor shows on creation/editing of blocks, it doesn't work there.
D6.2, IMCE 6.x-1.0, TinyMCE 6.x-1.1-dev
Comment #45
rhlowe CreditAttribution: rhlowe commentedI figured out wat was going on (kinda). I was using an administration theme different from the site's theme, not sure why that made a difference, but it did.
Comment #46
mjourney2 CreditAttribution: mjourney2 commentedI included the function phptemplate_tinymce_theme in my template file, but it's not being called. I'm using only one theme. Any idea why that might be the case?
I'm running drupal 6.3. Thanks for any help.
Comment #47
quicksketchThis patch integrates the code suggested by ufku in #2. Considering the large amount of difficulty users may have getting the two to work together, I'd really like it if this patch could be applied to the project.
Comment #48
quicksketchComment #49
quicksketchOops, I suppose this should be in the tinyMCE queue. Considering this issue has the most attention, I hope we don't mind if I move it over there for the maintainer to have a look.
Comment #50
keesje CreditAttribution: keesje commentedPatch in #47 confirmed as OK, no issues.
Thanks!
Comment #51
bloke_zero CreditAttribution: bloke_zero commentedthijsvdanker - thanks I was making the same stoopid mistake of changing the wrong template.php file - it's amazing how you can miss the obvious when you're a little fried...
Comment #52
zmove CreditAttribution: zmove commentedPatch #47, confirmed too. Thank you quicksketch
+1 For adding it on the next release of tinyMCE.
Comment #53
mikkelwf CreditAttribution: mikkelwf commentedWHAT TO DO TO GET THIS TO WORK..!?!?!?
1. have installed both IMCE and tinymce
2. have patched tinymce.module
3. have granted access to tinymce (IMCE access are granted automatically or what, because there are no options in permissions)
4. have cleared cache
so by now, something should happen (or have i missed something)
NO link or option for IMCE content in tinymce settings.
NO link or option for IMCE content when tinymce renders in a textarea field.
PLEASE HELP..!!
Comment #54
quicksketchmikkelwf, you're probably just overlooking the button for the browser. If tinyMCE and IMCE are both installed, after applying this patch IMCE automatically becomes the file browser. Click the "image" button in tinyMCE, then next to the URL field there's an icon that will pop open the file browser. See attached screenshot.
Comment #55
mikkelwf CreditAttribution: mikkelwf commented#54 Thanks, helped a lot.
Was a little stressed about getting this to worked. I had just spent some time trying to get image assist to work properly with tinymce, but no luck. So i simply missed the tiny button there. :)
Comment #56
misiu9 CreditAttribution: misiu9 commentedwork great!!!!!!
thanks a lot :o))
Comment #57
Anonymous (not verified) CreditAttribution: Anonymous commentedUsing Drupal 6.4 and latest versions of WYSIWYG and IMCE modules. But can't find the tinymce.module file anywhere.
Where should i patch the patch under #47?
Enno
Comment #58
frankcarey CreditAttribution: frankcarey commentedI'm trying to use IMCE 6.x , and TinyMCE 2.x in Wysywig 6.x.
It looks like Wysywig implements its own module for TinyMCE, (you don't use the Tiny MCE drupal module).
Any ideas on getting it to work there?
sun says:
In above mentioned thread, quicksketch already developed a method that replaces TinyMCE's built-in image file browser with the one from IMCE. However, initialization of this happened inside of tinymce.module, resp. wysiwyg_editor.module, which is discouraged. Wysiwyg Editor not only provides hook_wysiwyg_plugin() now, but also initializes the editor almost completely through jQuery.
I never worked with IMCE (because I'm the maintainer of Image Assist), but it seems like IMCE only needs to add a custom editor configuration setting to the init array (which might need an API enhancement of hook_wysiwyg_plugin(); not sure) and needs to load an external JavaScript [function] (which might need to be turned into a real editor plugin script). I don't know whether that phptemplate function is still necessary then.
http://drupal.org/node/287321#comment-942961
Cheers
Comment #59
cpttripzz CreditAttribution: cpttripzz commentedff3, os: ubuntu 8.10
images show up in preview but do not show in content
Comment #60
MurzPatch in #47 works good on Drupal 6.4 & lastest tinymce+imce & tinymce 3.x with no issues! Thanks!
Comment #61
alternativecatII CreditAttribution: alternativecatII commentedDoes it matter where you insert this code at?
Is there a recommended section to paste it in?
I added this code to my template.php file in Garland, and then my site would no longer load until I deleted the code.
Comment #62
alternativecatII CreditAttribution: alternativecatII commented#47
quicksketch - July 14, 2008 - 02:29
I hate to be a block head, but what am I supposed to do with the patch listed in this post?
Comment #63
james_andrews CreditAttribution: james_andrews commentedJust implemented a bog standard drupal setup using the garland theme which already has the template.php file and I get a "Parse error: syntax error, unexpected T_STATIC in...."
This happens even if I try to add a template.php file to a theme that doesn't have it and switching to that theme.
Any ideas what i should do?
Comment #64
james_andrews CreditAttribution: james_andrews commentedok I got it to work so here's a quick rundown of what I did... (mac osx solution)
- copied my tinymce module folder to my desktop
- added the tinymce_imce_integration.patch file to the folder
- opened terminal app
- dropped the folder into the terminal window and typed the following command:
patch < tinymce_imce_integration.patch
Once that's done I uploaded tinymce back to my server and voila! it works!
Comment #65
action2001 CreditAttribution: action2001 commentedwork great!!!!!!
thanks a lot :o))
Comment #66
sunJust wanted to point all of you to #287025: IMCE_Wysiwyg API bridge module . Turning this patch into a proper implementation for Wysiwyg API should be possible in no time.
Comment #68
quicksketchOle Martin: I deleted your comment because it was not relevant to the discussion (and very long). Please open new issue for questions about your template.php file.
Comment #69
rhlowe CreditAttribution: rhlowe commented@61: You only need the opening and closing php tags if you didn't already have a template.php file. I also should not matter where you put the code.
Comment #70
blue carrot CreditAttribution: blue carrot commentedI added TinyMCE to my website, and I wanted to integrate it with IMCE so that users can upload photos more easily from their computers, for forum posts etc.
I used the addition into my themes template.php that is found in this thread.
After I did this, tinyMCE shows up with the browse button as expected. However, it also makes my site malfunction in that whenever someone logs on or makes a change or adds a post, they are taken to a blank page rather than to the page they're supposed to go to. If you hit refresh it goes to to the main page or to the page you modified.
I tried using the patch found in post # 47 of this thread, but I could not manage to get the patch to work, it was a bit over my head to be honest. Tried a couple of patch programs but I'm not good with that dos type input format.
Does anyone have any suggestions on this. Either how to fix the problem, or if you have a pre-patched tinymce.module file that I can get, that would also be awesome.
Thanks in advance for any help.
Comment #71
nahkiainen CreditAttribution: nahkiainen commentedI have the same problem as #70 "blue carrot" has. IMCE works, but after submitting the changes, a blank page will load. I have modified the template.php and used the patch from #47 in the way #64 suggested.
Any more ideas?
Comment #72
GreenSkunk+2 Subscribe
Comment #73
chum CreditAttribution: chum commentedHopefully this will help someone else who has the same problem. I spent hours trying to solve this problem. Everytime I would paste in the code, the whole screen would go blank, i.e. the theme was not loading. I am using Amadou and it already had the Closure statement in the page.tpl.php, so I needed to look at pasting in the code from above into the template.php file. The template.php file already had the first bit, so I had to insert and drop some of the code and than take the closure statement out of the page.tpl.php file. So the code ended up looking like:
Comment #74
sunMarking as duplicate of #287025: IMCE_Wysiwyg API bridge module
Comment #75
3rdvalve CreditAttribution: 3rdvalve commentedFollowing the instructions with a Drupal 6 installation worked fine but the button link to open IMCE resulted in a redirect to the homepage in the IMCE pop-up window.
I fixed it by changing this line:
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');
to this:
drupal_add_js("function imceImageBrowser(fid, url, type, win) {win.open(Drupal.settings.basePath +'imce?app=TinyMCE|url@'+ fid, '', 'width=760,height=560,resizable=1');}", 'inline');
in the template.php file.
For some reason my setup does not like basePath +'?q=imce but prefers basePath +'imce
Comment #76
tsavino CreditAttribution: tsavino commentedI did a patch on the tinymce-6.x-1.1-dev to get imce to work and the disable rich-text to work attached is the file
Comment #77
CurroDeNapoles CreditAttribution: CurroDeNapoles commentedHi, I am trying to get imce to work with tinymce, and I have followed all the instructions and suggestions specified here, unfortunately with no luck.
I've modified the template.php, the closure statement on the page.tpl.php file is fine, and I've tried everything being suggested but obviously I must miss something....
Don't know what to do, can somebody help? Please :)
Comment #78
ausvalue CreditAttribution: ausvalue commentedYour quickest and easiest solution is to give up on the tinymce module and either use one of the following two modules.
TinytinyMCE
or
Wysiwyg API
TinytinyMCE is stable and specifically designed to make it easy to integrate IMCE with TinyMCE. The Wysiwyg API is a newer bigger grander project that will ultimately take over from the current TinyMCE and probably in the future will be the master Wysiwyg editor project for Drupal.
For User Instructions for any of the TinyMCE editors do check out the following:
Draft TinyMCE User Guide
Still looking for further contributions to this Guide.
AusValue
www.ausvalue.com
Comment #79
CurroDeNapoles CreditAttribution: CurroDeNapoles commentedThanks for the quick reply!
Unfortunately I did not explain myself properly: I am using the wysiwyg api and I am trying to use the tinymce that comes with it.
found something that might look interesting here:
http://drupal.org/node/287025
but gosh, I don't know how to patch that in using windows!!! :(
I apologize for the confusion... I am new here!
Thanks again
Comment #80
sunQuick clarification: Yes, Wysiwyg API is newer, i.e. a modern and future-proof approach of integrating editors into Drupal. And, by doing it that way, it is also much cleaner, faster, and smaller. So the characteristics "big" and "grand" only apply to the project's awesome scope, not to the module. ;)
Comment #81
CurroDeNapoles CreditAttribution: CurroDeNapoles commentedEheheh! Now it makes sense! Thanks Sun, I'll probably try to use TinyMCE on its own for the time being.. I'll try again the Wysiwyg API when I'll have a better understanding of drupal & maybe in the meantime there will also be an update. :)
Comment #82
cdmorris CreditAttribution: cdmorris commentedI've tried the template.php suggestion and it still doesn't work. I'm on Drupal 6.9 and I've used Firefox 3.0.5 as well as IE7. I'm using IMCE 6.x-1.1, TinyMCE 3.2 and Wysiwyg API 6.x-0.5. For me the button doesn't even show up when I try to insert an image or insert a link. This worked for me fine with Drupal 5.7 and TinyMCE+IMCE combo. Anyone have suggestions for what I could try, or point out what I'm doing wrong/overlooking?
Thanks
Comment #83
ryivhnn CreditAttribution: ryivhnn commentedSome patches here which apparently have worked for some, try your luck :)
Comment #84
Anonymous (not verified) CreditAttribution: Anonymous commentedAre you talking about patching TinyMCE as a stand-alone module, or patching TinyMCE as integrated within the WYSIWYG module?
When I try patching the TinyMCE editor that's within the WYSIWYG module I get this:
" can't find file to patch at input line 8 "
Comment #85
Anonymous (not verified) CreditAttribution: Anonymous commentedThat was meant as a response to #64.
Thank you #64, it worked.
I decided you were talking about TinyMCE as a stand-alone module.
And the error message was because I hadn't copied the patch to the module folder.
[Setup: Drupal6.9, TinyMCE 6.x-1.1-dev, IMCE 6.x-1.1
(I am also trying WYSWYG/TinyMCE, but haven't got IMCE working that way yet.)
Comment #86
david.archibald CreditAttribution: david.archibald commentedI'm similar to #85.
Have used the various fixes to get TinyMCE 6.x-1.1-dev + IMCE working with Drupal 6.9 without too much of a problem.
However, have had no joy getting WYSWYG/TinyMCE working with IMCE.
Comment #87
jimmb CreditAttribution: jimmb commentedSame here - I cannot get WYSIWYG/TinyMCE working with IMCE either. Can anyone help?!
Comment #88
gleikis CreditAttribution: gleikis commentedI've solved the issue with this hack: http://drupal.org/node/287025 Comment #97
Comment #89
jimmb CreditAttribution: jimmb commentedThank you! That worked for me.
Jim
Comment #90
cloxzime CreditAttribution: cloxzime commentedI am so confused with so many patches and comments.
My problem is, the IMCE icon in TinyMCE > Insert Image is not appeared. Then, how to get the icon appeared in the Insert Image popup window?
Currently using Drupal 6.10 + Wysiwyg API 6.x-1.0 + TinyMCE 3.2.2 + IMCE 6.x-1.2 (NOT WORKS)
Previously using Drupal 6.10 + TinyMCE 6.x-1.1-dev + IMCE 6.x-1.2 (WORKS)
Please, help me with this. Hopefully to hear from you. Thank you.
Comment #91
fist CreditAttribution: fist commentedto me it does not work ...
Help!
Comment #92
tazir1 CreditAttribution: tazir1 commentedDrupal 6.10 / wysiwyg API 6.x-1.1 / IMCE Wysiwyg API bridge 6.x-1.0 / IMCE 6.x-1.2 / TinyMCE (under Wysiwyg) 3.2.2.1
Cannot upload files.
After installation was possible to upload, now sometime just run uploading bar but nothing happen in the end, or cannot upload at all (see img).
I just find out about 2nd problem (cannot upload at all) the option is there, just the text is white so cannot seen. How to change?
Comment #93
MissyM CreditAttribution: MissyM commentedI moved to the TinyMCE module and it works fine!
Comment #94
stevekerouac CreditAttribution: stevekerouac commentedhttp://drupal.org/node/287025 Comment #97 , as mentioned in post #88 worked for me too.
Although not with FCK, only TinyMCE.
Running Drupal 6.10
imce-6.x-1.1
tinymce_3_2_2_1
wysiwyg-6.x-1.1
Browser Mac Firefox3
Comment #95
hychanhan CreditAttribution: hychanhan commentedThis function is working very well with Drupal6.10 version.
Any way thanks for your help.
ChanHan Hy,
Comment #96
sunComment #97
tazir1 CreditAttribution: tazir1 commentedI trying the code, but was not work for me.
I found simple solution for my case (without the code):
Under: admin/settings/wysiwyg/profile -> Edit -> Buttons and plugins
I have to allow IMCE and specified the buttons to use on the editor box.
So, try this option before applying the code.
Comment #98
olegtr65 CreditAttribution: olegtr65 commentedIMCE works fine on my local system with Apache, but when I installed it on hosting with IIS and IsapiRewrite I found that it doesn't work there.
Browser window openes, files in directory show but when I try to perform any operation - navigate, upload ao delete I get an error:
An HTTP error 404 occurred. imce?jsop=navigate&dir=.
I tried to do a lot with it, but it was no result.
I think the reason is in Isapi Rewrite.
Could anybody help me?
Comment #99
AdrianB CreditAttribution: AdrianB commentedI don't think you should change the subject like that.
Comment #100
slsoares CreditAttribution: slsoares commentedDears,
Firstly, I am sure for my English. It is not very good.
I am blind and the tinymce editor is the best editor for us, blind persons, for the accessibility.
But, the tinymce and imce does not work in my site drupal.
I use: drupal 6.2, tinymce and imce the last version.
I saw in a site of my friend, also blind, that hi presses the icon "insert / edit image" and open a pop up that there are general .... .... and upload. Hi clicks in upload and display the fields with brouser for up in the image for server.
Please, can anybody help me?
Thanks,
Comment #101
Anonymous (not verified) CreditAttribution: Anonymous commentedDo you mean there's a button for IMCE in 'buttons and plugins'? Where?
I already enabled Image and Link.
thanks
Comment #102
pbirnie CreditAttribution: pbirnie commentedI finally gave up on tinymce and this WYSIWYG api module -I used FCKEditor and IMCE - I have blogged the process here http://www.zulutime.org/blog/avoid-drupal-wysiwyg-api-module-getting-fck...
Comment #103
hychanhan CreditAttribution: hychanhan commentedAfter i cleared cache data, it works.
Thanks you very much.
ChanHan Hy,
Comment #104
millenniumtree#7, #10, and whomever encounters this problem in the future.
If your "Send to TinyMCE" button isn't showing up, then here is a possible cause. It took me nearly a whole day to figure it out.
The "Secure Pages" module interferes with IMCE (If the imce window is running as https, then it cannot communicate with the window that TinyMCE is in)
Go here:
/admin/build/securepages
and add this line to the Ignore Pages: box.
*/imce*
Save, and be happy.
Comment #105
sarahjean CreditAttribution: sarahjean commentedI had the same problem with the "Send to TinyMCE" button not showing up in any browsers, and tried to and */imce* to my ignore pages and it didn't help, so I also took node/*/edit out of "make secure" and now I have the button back. Thanks for the tip.
I'm using:
IMCE 6.x-1.2
IMCE Wysiwyg bridge 6.x-1.0
Wysiwyg 6.x-2.0
TinyMCE Version 3.2.4.1
Secure Pages 6.x-1.8
Drupal 6.13
Firefox 3.0.11
Opera 9.64
IE8
Windows XP Professional SP3
Comment #106
UNarmed CreditAttribution: UNarmed commentedHey i have most of this running except for the most important bit haha how to i get it to index the users computer so they can upload there own images?? I keep getting this darn "File browsing is disabled in directory" .
Comment #107
AdrianB CreditAttribution: AdrianB commentedUNarmed: Please don't change the title like that.
Comment #108
Butenbremer CreditAttribution: Butenbremer commented#97/tazir:
You are the greatest!
That works very fine to me!!
And it's so simple!!!!
Thank you!
Thorsten
Comment #109
ThaiGringo CreditAttribution: ThaiGringo commentedI just wanted to reply that to get the button to show up, I had to configure the profile in the WYSIWYG module.
(admin/settings/wysiwyg/profile/1/edit)
Then I had to enable the buttons I wanted to show up in the toolbar, along with the ICME plug-in. Now it works.
That was in addition to the instructions above about the template.php mod, which I applied to the ZEN profile.
Comment #110
poupinella CreditAttribution: poupinella commentedHi, I use TinyMCE on my "handmade" website, and I'm trying to integrate IMCE, but the instructions (readme.txt) seem to be made for Drupal - is it possible to use IMCE on a non-Drupal project ? If so, I don't even know where I should copy the IMCE directory; in the tinymce/plugins or ? And what are the next steps ?
Thanks
Comment #112
Anonymous (not verified) CreditAttribution: Anonymous commentedI was having trouble with this until I realised I hadn't enabled the IMCE button under the wysiwyg module. Now it works perfectly!
Jane
Comment #113
ShaneOnABike CreditAttribution: ShaneOnABike commentedHey guys,
I had the same issues but after installing IMCE_Bridge everything was working ok. The IMCE button appeared within the Wysiwhy configuration as it did before :)
Cheers
Shane
Comment #114
zaglick CreditAttribution: zaglick commentedThank you #97 tazir1, that was the exact instruction that I was looking for.
Comment #115
Dave KopecekRE #90, Missing "Insert Image" button on IMCE popup.
If secure pages module is installed you may need to add:
to secure pages "Ignore Pages" at: admin/build/securepages
This is documented in FREQUENTLY FACED ISSUES in the imce README file.
Comment #116
gjones CreditAttribution: gjones commentedThanks!!!
Comment #117
jillpadams CreditAttribution: jillpadams commentedJust my two cents -- This is working for me now, though I'm not sure if the fix was the comment in #2 or just choosing the proper file directory.
Running:
Drupal 6.20
Wysiwyg 6.x-2.3
IMCE 6.x-2.1
IMCE Wysiwyg bridge 6.x-1.1
and TinyMCE as my visual editor in Wysiwyg profiles, but don't actually have the TinyMCE editor installed.
Added the #2 function to template.php (using an adaptation of Framework theme), and realized that the directory I'd set in IMCE settings for User-1 wasn't writeable. After directing that to the proper dir, and adding the function, all's well. No time to parse out which worked, but hope that's helpful to somebody.
Comment #119
peteranthonywynn CreditAttribution: peteranthonywynn commentedAfter weeks of installing and reinstalling #97 was the answer on multiple sites... YOU ROCK, I cannot believe I missed the button .... SIMPLEST solutions are usually the ones you need. With all the updates and fixes we have found most of the Drupal modules play nice, look for the simplest things first before you start playing with PHP.
Comment #120
mattbk CreditAttribution: mattbk commentedAll that was needed for me was to install IMCE Bridge: http://drupal.org/project/imce_wysiwyg and then to turn on the IMCE plugin (which was not shown before) under WYSIWYG.