Results 1 to 3 of 3

Thread: FCKEditor Bar not showing in Opera

  1. #1
    casperl is offline Junior Member
    Join Date
    Jun 2007
    Posts
    4

    Default FCKEditor Bar not showing in Opera

    Hi,

    I HAVE SEARCHED, and I have tried many of the existing solutions to the problem below, without success.

    In the Opera Browser (9.2) the FCKEditor bar is not appearing. The editor Bar is appearing in IE 7 on the same Windows PC. The rest of the form is there, just the FCKeditor bar is mssing.

    I am using the following:
    Sugar Open Source Version 4.5.1d (Build 1273)
    Opera 9.2
    XAMP for Windows 1.6.1
    Windows XP Professional

    Javascript and everything else is enabled in Opera.
    Java Enabled in Opera - Sun Java Runtime Environment version 1.5

    As per other posts on this forum, the path to the FCKEditor is important.

    This is my setting in config.php: 'site_url' => 'https://localhost/acrylic',

    (I am running Sugar Open Source on localhost/acrylic.)

    In FCKeditor_Sugar.php I have added the following line:
    $host = $sugar_config['site_url'];
    /* print $sugar_config['site_url']." --- ".$host; */
    The (now commented out code) reports: https://localhost/acrylic --- https://localhost/acrylic

    This is correct AFAIK?

    I have also tried http:// vs https:// as per existing forum topics, sans success.

    And at this point I have run out of ideas and have resorted to screaming for help. Of course IE 7 works beautifully but the eventual database will be hosted on a Linux PC on the Internet and the client stations will run Ubuntu Linux. Thus it is important to understand what is going on! On Linux I have the same issue with Firefox 2, but I have not exhausted other errors (as above) when running Sugar Open Source on that platform.

    Any pointers will be appreciated.

  2. #2
    casperl is offline Junior Member
    Join Date
    Jun 2007
    Posts
    4

    Default Re: FCKEditor Bar not showing in Opera

    In answer to my question:

    FCKeditor does not appear to work with Opera 9.2 or possibly Opera x.x at all!

    http://www.fckeditor.net/demo

    The above page does not render properly either.

    Will try Firefox at some point in future and lets hope that works!

    (BTW I hate being forced to use IE, but that is a minority opinion.)

  3. #3
    VagaStorm is offline Member
    Join Date
    Jun 2007
    Posts
    5

    Default Re: FCKEditor Bar not showing in Opera

    FCK dos work in opera, I just made the following changes to /include/FCKeditor/fckeditor.php to add a test to see if its one of the newer opera versions and in that case show the html area. I haven't tested it much, but I havent seen anything not working either yet.

    PHP Code:
        function IsCompatible()
        {
            global 
    $HTTP_USER_AGENT ;

            if ( isset( 
    $HTTP_USER_AGENT ) )
                
    $sAgent $HTTP_USER_AGENT ;
            else
                
    $sAgent $_SERVER['HTTP_USER_AGENT'] ;
                
            if ( 
    strpos($sAgent'MSIE') !== false && strpos($sAgent'mac') === false && strpos($sAgent'Opera') === false )
            {
                
    $iVersion = (float)substr($sAgentstrpos($sAgent'MSIE') + 53) ;
                return (
    $iVersion >= 5.5) ;
            }
            else if ( 
    strpos($sAgent'Gecko/') !== false )
            {
                
    $iVersion = (int)substr($sAgentstrpos($sAgent'Gecko/') + 68) ;
                return (
    $iVersion >= 20030210) ;
            }
            
    //This else is added to test for Opera.
            
    else if(strpos($sAgent'Opera') !== false){
                
    $iVersion = (float)substr($sAgentstrpos($sAgent'Opera/') +6strpos($sAgent'('strpos($sAgent'Opera/') +6));
                return (
    $iVersion >= 9.2); 
            }
            else
                return 
    false ;
        } 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Opera Browser works with Sugar Sales
    By Eiken in forum General Discussion
    Replies: 2
    Last Post: 2011-03-03, 05:04 AM
  2. Dashboard showing incorrect data
    By ashishcrm in forum Help
    Replies: 1
    Last Post: 2007-06-02, 06:53 AM
  3. New Field not showing up in module
    By etabs in forum Help
    Replies: 7
    Last Post: 2007-05-01, 05:48 PM
  4. Replies: 1
    Last Post: 2007-03-02, 06:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •