I know this has been highlighted - however, I cannot find a solution to this.

Bringing up the IMCE file browser window from fckeditor shows the editor without the upload, resize etc tabs visible. The code relating to these is as follows:

'

'

I have tried to override the class in style.css of the relevant theme - nothing - still not visible. All is needed is to change the colour, I guess - can't seem to do it however.

Any ideas, please?

Cheers!

Mike

CommentFileSizeAuthor
#5 script.js.txt8.35 KBñull
#3 withCustomTheme.jpg8.64 KBñull
#3 withGarlandTheme.jpg12.53 KBñull

Comments

wmike’s picture

As you can see - they display here - surely a css issue?

ufku’s picture

Yes. try to figure it out using firebug or developer tools for firefox.

ñull’s picture

StatusFileSize
new12.53 KB
new8.64 KB

I have a similar problem related to themes. I discovered that with my custom theme only one tab is "printed" by Drupal (no CSS issue!) while core theme shows them all. See attached images for a comparison of the same tags. How can a theme influence this?

ñull’s picture

Apparently these tabs are added by Javascript. May be somebody of the developers can explain what could cause that only the first tab appears in a theme? We are talking about an Artisteer theme that has some JS of its own that could override or hinder IMCE's javascript.

ñull’s picture

StatusFileSize
new8.35 KB

For your information I attach the theme's JS file.

b777’s picture

Artisteer changes the option from an 'input' to a 'button'. Under imce.js around line 257 it searches for the 'input', and doesn't find one.. since Artisteer changed it to a 'button'.

Adding a check to imce.js to check for 'button' if 'input' isn't found fixes the problem.

I did a check to find if it the sbmt variable has an 'id' attribute, and if not, look for a 'button'.

Maybe a cleaner/quicker way to fix. Suggestions welcomed.

To Fix:

Search imce.js for

var sbmt = $('input:submit', this);

And add the below code just below it...

if (!sbmt.attr('id')) {
sbmt = $('button:submit', this);
}

ufku’s picture

Status: Active » Closed (fixed)

Closing 6.x-1.x issues as this branch is no more supported.