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.
Hi. The Title pretty much says it all... I'm running Drupal 7.23. The problem exists for any browser (FF, IE, Safari)
Thanks,
Lee
Comments
Comment #1
jhmoore CreditAttribution: jhmoore commentedI'm not able to duplicate this. Can you provide more information?
Comment #2
LNakamura CreditAttribution: LNakamura commentedThanks for the quick reply, John!
Sure:
Text format: Filtered HTML
Editor: TinyMCE 3.5.8
Oh - one other thing I forgot to mention earlier: the IMCE option does not appear under Buttons and Plugins on admin/config/content/wysiwyg/profile/filtered_html/edit
Is there any other info I could provide which might help here?
Thanks,
Lee
Comment #3
jhmoore CreditAttribution: jhmoore commentedDo you have IMCE Wysiwyg bridge (https://drupal.org/project/imce_wysiwyg) installed? If you don't, then IMCE won't show up in the list of Buttons and Plugins options.
Comment #4
LNakamura CreditAttribution: LNakamura commentedYes - 7.x-1.0 - and it's enabled.
Comment #5
jhmoore CreditAttribution: jhmoore commentedI have the same setup, and I'm still not able to duplicate any of this.
Sorry :-(
Comment #6
LNakamura CreditAttribution: LNakamura commentedBummer. I appreciate your trying to reproduce the problem.
If it matters, I have Wysiwyg itself at 7.x-2.2
Also, I discovered (on a different site which I developed, with slightly downlevel versions of Wysiwyg (7.x-2.1) and TinyMCE (3.5.6), but Drupal way back at 7.15) that a working system shows the same thing in the source for the dialog (libraries/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm):
<td id="srcbrowsercontainer"> </td>
it's just that some JavaScript code, I assume, is adding the actual code inside the TD when the dialog is rendered:
...but I can't find that code anywhere!The code should be added when getBrowserHTML() is called by /libraries/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js (line 63), but the call (line 51 in /libraries/tinymce/jscripts/tiny_mce/utils/form_utils.js) to
tinyMCEPopup.getParam(option, tinyMCEPopup.getParam("file_browser_callback"));
returns undefined... I guess it's time to move this - to TinyMCE-land?
Comment #7
jhmoore CreditAttribution: jhmoore commentedYeah, that's what I'd do.
Comment #8
jhmoore CreditAttribution: jhmoore commentedComment #9
LNakamura CreditAttribution: LNakamura commentedThanks, John. If you or anybody else is interested, I just opened http://www.tinymce.com/develop/bugtracker_view.php?id=6201
Comment #10
LNakamura CreditAttribution: LNakamura commentedIt turns out it was a config problem, after all :-(
The role-profile assignments weren't set up on /admin/config/media/imce. Once I set those, the IMCE button popped up on the Wysiwyg config page for TinyMCE, which allowed the file browser button to appear for the Image plugin.
Comment #11
jhmoore CreditAttribution: jhmoore commentedAhh, I forgot about that possibility.
Thinking about it now, I seem to recall something similar occurring in some previous Drupal install a while back. I was configuring the WYSIWYG editor with IMCE, as I'd done many times before, but this time I couldn't enable certain features. It turned out be some IMCE configuration problem. It's still a mystery to me why it only occurred on this one install, which had all the same modules and libraries that I normally use.
Comment #12
LNakamura CreditAttribution: LNakamura commentedSo I wasn't going crazy? :-)
Comment #13
RytoEX CreditAttribution: RytoEX commentedI've also just now run into this with 6.x-2.5 (with IMCE Wysiwyg bridge 6.x-1.1 and TinyMCE 3.5.9) in an odd way. While logged in as the default admin user, I can see the checkbox for "IMCE" under the WYSIWYG TinyMCE profiles and it is checked, and the IMCE file browser button shows up in the "Insert/Edit Image" dialog. If I log in as another user, even another one with the administrator role, I can neither see the "IMCE" checkbox nor the IMCE file browser button. When I checked the IMCE Configuration profiles and Role-profile assignments (/admin/settings/imce) it seems that they are not set, like LNakamura's situation. Setting the Role-profile assignments also seemed to solve this problem for me.
As far as I know, the configuration has never changed. I'd never have noticed this was a problem if I hadn't checked on a different user account. Does the default admin user override these settings? Is there a setup guide that goes over configuration steps like these? Thanks!
Comment #14
cigotete CreditAttribution: cigotete commentedI want to comment that I have the same issue, but only with roles that have permissions to upload files (I mean, the browse icon is displayed to the superadmin role). ¿there is any progress on the issue? thanks in advance.