Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am currently using the newsflash theme. I am not getting the browse button. I have the closure tag in the right spot but still nothing. Any help would be great.
Comment | File | Size | Author |
---|---|---|---|
#8 | tinymce_imce.patch | 1.26 KB | markstos |
Comments
Comment #1
Eugene Fidelin CreditAttribution: Eugene Fidelin commentedI have the same problem with my own theme. If i use it - i didn't see "Browse" button, but if i use theme Garland - i see it.
I found out that my theme in file page.tpl.php had an error. It haven't this code
<?php print $closure;?>
.When i wriote this code - "Browse" button appeared.
Comment #2
Ray Seaman CreditAttribution: Ray Seaman commentedI'm having the same issue, even though I changed the code at the bottom of page.tpl.php. Any other ideas?
I'm using the LiteJazz theme (similar to NewsFlash)
Comment #3
Ray Seaman CreditAttribution: Ray Seaman commentedStill needing help on this one. Is it my theme (again, it's LiteJazz)?
Comment #4
Ray Seaman CreditAttribution: Ray Seaman commentedPossibly some helpful info to the more technical among us - according to Firebug, this is the error:
Firebug cites the following:
imce_set_tinymce.js Line 7
I'm no coder, so none of this make sense to me. However, I'm sure it will ring a bell with many people here.
Comment #5
Ray Seaman CreditAttribution: Ray Seaman commentedStill waiting for help...
I noticed today that I have the "Personal Files" tab on my profile page - so I guess some part of IMCE is working. However, as I've noted for the past week or so, I can't get the browse button to show up in the images dialog box in TinyMCE.
Comment #6
Mike Sances CreditAttribution: Mike Sances commentedHaving the same issue. Have personal files, but since upgrading to Drupal 5.5 can't see "browse button." Have checked for closure tags, that isn't the issue.
Comment #7
jscheel CreditAttribution: jscheel commentedHave you checked you permissions? Have you granted "access imce" to any roles?
Comment #8
markstos CreditAttribution: markstos commentedI noticed the same JavaScript error.
The following code is in "diff" form and supplies a workaround. I think this is a bad way to solve it, but it works. The original code had a better approach, but I don't understand why it's not working. Unix geeks can apply this with "path". Otherwise, note the file names, and realize that the plus or minus in the first column indicates whether a line should be added or removed.
Comment #9
cafe CreditAttribution: cafe commentedmarkstos - your patch works for me, thanks.
Comment #10
elgreg CreditAttribution: elgreg commentedThis patch worked for me as well. much thanks! Wonder if this has anything to do with using v3 of TinyMCE?This is on Drupal 5.7, TinyMCE v3.0, tinymce,module v 1.92, imce.module,v 1.8.2.30
Comment #11
KermitJr CreditAttribution: KermitJr commentedAppreciate the patch, but for the non-technically inclined... which file am I patching? TinyMCE or IMCE? The drupal or the internal for tiny?
thanks!
Kermitjr
Comment #12
domineaux CreditAttribution: domineaux commentedBrowse not showing up, but when I do a refresh of the browser it shows up.
I've tried it on Garland and LiteJazz, same thing happens. The IMCE window pops up, but there is no browser button on any page.
I refresh the web browser and the little browser button shows up on the IMCE popup.
Can't we just turn off the old FCKeditor/TinyMCE popup some way and eliminate this issue?
This way caching wouldn't make a flip of difference.
I'm using FCKeditor.
Comment #13
naitsirhc26 CreditAttribution: naitsirhc26 commentedThanks markstos. Your fix worked perfectly. KermitJr, when you open up the patch file, you will notice the two files that you need to edit.
tinymce/tinymce.module (which is in the tinymce folder)
imce/imce_set_tinymce.js (which is in the imce module folder)
Just edit the lines of code where he has placed - and + marks. Just delete lines with a - symbol and add lines with a + before them.
Comment #14
jazzun4141 CreditAttribution: jazzun4141 commentedThank you. This patch really worked. I was very frustrated by the lack of functionality when the browser button did't show up.
Comment #15
jrabeemer CreditAttribution: jrabeemer commentedMarktos patch didn't work for me with D5.7 and the latest tinymce/imce.
Comment #16
jwurster CreditAttribution: jwurster commentedGreat, that patch worked. Thank you.
Comment #17
Andrew Maiman CreditAttribution: Andrew Maiman commentedThe patch worked successfully for me, as well. (Drupal 5.7 + TinyMCE 5.x-1.x-dev (2007-Dec-16) + TinyMCE 3.0 + IMCE 5.x-1.0)
Comment #18
amccoy CreditAttribution: amccoy commentedPatch worked for me too!
(Drupal 5.7 + TinyMCE 5.x-1.9 + TinyMCE 3.0 + IMCE 5.x-1.0)
Comment #19
joelg-1 CreditAttribution: joelg-1 commentedThanx a lot for the patch. Worked well too...
Comment #20
stiggynet CreditAttribution: stiggynet commentedThanks markstos!!!!!!!
Comment #21
sayesor CreditAttribution: sayesor commentedIt's worked for me too. Thanks!!!
Comment #22
rontec76 CreditAttribution: rontec76 commentedThe patch worked for me too with one exception.
I'm using TinyMCE module 5.x-1.9, TinyMCE 3.1.0.1 and IMCE 5.x-1.2.
In this case I only applied the patch to tinymce.module and left imce_set_tinymce.js.
This is because before I applied the patch I noticed the existing code referenced in the patch is different than what is in my version of IMCE.
Point being in my case it worked to just patch the TinyMCE module.
At any rate....thanks for the patch. It saved me a headache.
Comment #23
oldrobb CreditAttribution: oldrobb commentedSimilarly, I only patched tinymce.module (as I didn't actually have an imce_set_tinymce.js!)
Edit
Just realised that while this makes my button appear, the button doesn't do anything!
Firefox's Error Console gives me:
This is with:
Drupal 6.4
IMCE 6.x-1.1
TinyMCE 6.x-1.1-dev
Comment #24
jimmb CreditAttribution: jimmb commentedI have the same setup as robbm, and am using the LiteJazz theme. When I open the TinyMCE editor, there's no browse icon for selecting an image. I find it interesting that in the D6 vsn. of IMCE, there is no checkbox option to:
Enable tinyMCE support
Make IMCE the default image/file browser for tinyMCE.
I would think this could be part of the problem, except I suspect it's been removed from this version of IMCE for some unknown reason. At any rate, I'm joining the chorus of people looking for a solution.
Jim
Comment #25
Grinch2171 CreditAttribution: Grinch2171 commentedI too am one one of those who doesn't have a browse button.
Drupal 6.4
IMCE 6.x-1.1
TinyMCE 6.x-1.1-dev
I am using the Deco theme.
Comment #26
gorgen CreditAttribution: gorgen commentedThis did the trick for me:
http://drupal.org/node/241753#comment-792305
Comment #27
jasonch CreditAttribution: jasonch commentedHi,
I have the same problem, but I realized my version of imce doesn't even has imce_set_tinymce.js file so I can't apply the second half of the patch (after applying the first half, the button appears but goes no where).
I've tried everything else that's suggested on this thread, nothing worked.
Any hint :)?
Comment #28
jasonch CreditAttribution: jasonch commentedActually... I applied the patch from
http://drupal.org/node/241753#comment-792305
and it works now ^^
thanks
Comment #29
jimmb CreditAttribution: jimmb commentedI've just installed a site with Wysiwyg API and TinyMCE 3.2.1.1. I am, however, not getting a browse button either.
I've tried with both Garland and Aquia Marina, with the same results. I also tried the patch in #26 above with Aquia Marina's template.php. But that didn't work either.
Hopefully someone else has a solution for the Wsyiwyg API - TinyMCE combination.
Thanks,
Jim
Comment #30
MissyM CreditAttribution: MissyM commentedStuck! Subscribe
Comment #31
ufku CreditAttribution: ufku commentedClosing 6.x-1.x issues as this branch is no more supported.