close   


DokuwikiFCK is no longer being supported.
It has been superceded by fckgLite and ckgedit.
close   
namespace:
close   
All questions, bug fixes, and feature requests should go through the mailing list. To subscribe to the list, do one of the following:

1. Send an email to fckglite-request@freelists.org with 'subscribe' in the Subject field
2. Visit the fckgLite page at http://www.freelists.org/list/fckglite
3. Or click the subscribe link below

Subscribe
 

This is an old revision of the document!


Browser Compatiblity Issues

Because of changes to IE 9 and Firefox 6, you must use version 06 or later of fckgLite, if you are using one of these browsers.

This is particularly important for IE 9, where the FCKEditor causes a disabling Javascript error, and the editor cannot save.

The problem in Firefox 6 occurs in the font tool. Firefox 6 is no longer supporting the font tag, which fckgLite had been using for its font tool. fckgLite 06 fixes this problem.

IE 9+ Compatibility Mode

Because of changes to Internet Explorer 9 and later, fckgLite must be run in what IE calls “compatiblity” mode, which is in effect switching back to the IE 8 standard. fckgLite attemps automatically to switch to compatibility mode. However, this may not be possible if your template sets the compatibility mode in the head section. The compatibility mode will be set in a meta tag with the following attributes:

     http-equiv="X-UA-Compatible"  content="name of compatibility mode"

Usually it will be placed in a conditional. For instance:

    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->

There are several ways to deal with this problem:

1. You can remove this meta tag; then fckgLite will take care of the rest. It will switch over to compatibility mode when the editor opens. When the editor closes, IE will itself return to the IE 9+ standard.

2. The optimal solution is to change the position of the meta tag. IE will use whichever compatibility mode comes first in the head section. In the following example, IE will use http-equiv=“X-UA-Compatible” content=“IE=edge,chrome=1”. This is because fckgLite sets the compatiiblity mode with tpl_metaheaders().

<head>     
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
     :
     : 
    <?php tpl_metaheaders() ?>  <!-- fckgLite sets the compatibility mode here -->
     :
     :
</head>

The solution here is to reverse the positions of the two:

<head>
    <?php tpl_metaheaders() ?>  <!-- fckgLite sets the compatibility mode here -->
     :

    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
     :    
     
</head>

The reason that this is in fact optimal is that fckgLite resets the compatiblity mode only when the fckgLite editor is open. When you exit the editor the template's own compatibility mode comes into effect.

This solution will not work with IE10 and the new dokuwiki template. Use solution 3 below.

3. Another option is to leave the meta tag in place and to manually switch over to compatibility mode when in the fckgLite editor. For this, IE provides a button in the URL box that looks like a broken page. When in the editor, you can simply click on this button.

In some instances the transition using this button shortens the height of the editing window, so the best solution in these cases is to start with the browser in compatibility mode and leave compatibility mode on during the entire editing session.

IE10 +

In IE10 and later with the new dokuwiki template, the simple solution is suggestion 3. above. However, here you can also alter main.php.

Near the top of main.php, you will find the following declaration:

<!DOCTYPE html>

Replace that with the following:

<?php if($ACT == 'edit'): ?>        
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php else: ?>    
 <!DOCTYPE html>
<?php endif; ?>

In the <head> section, where you find:

    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->

replace this with:

  <?php if($ACT == 'edit'): ?>       
     <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
   <?php else: ?>   
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
    <?php endif; ?>