Results 1 to 6 of 6

Thread: fckeditor(?) not working in forums (using FF)

  1. #1
    mek
    mek is offline Member
    Join Date
    Oct 2006
    Posts
    9

    Question fckeditor(?) not working in forums (using FF)

    Hi!

    I'm new to sugar and just installed the latest version 4.5c with the forums module. When I try to create a new thread I can enter a title, but the field 'Body' shows no form. This happens in Firefox (Windows and MacOS X). In IE and Safari everything is fine. Is there anybody out there who got the same problem? Or any ideas?

    Marc


    --
    sugar: 4.5c
    PHP: 4.4.2
    MySQL: 5.0.22

  2. #2
    SohodojoJim is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Fairfield, Iowa USA
    Posts
    29

    Default Re: fckeditor(?) not working in forums (using FF)

    Just to confirm here, on 4.5.0d I get no FCKeditor under Firefox for email and forum editors that should have them while Internet Explorer loads FCKeditor okay.

    The demo of FCKeditor at the FCKeditor site:

    http://www.fckeditor.net/demo

    works for my Firefox however. So this would seem to be pointing strongly to a Sugar config snafu.

    --Sohodojo Jim--

  3. #3
    SohodojoJim is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Fairfield, Iowa USA
    Posts
    29

    Default Perhaps an unclosed slot tag?

    Don't know is this will be implicated in the solution to this problem, but an inspection of of the source for the forum edit view shows that the Body label has no closing slot tag. Sometimes browsers react differently to tag nesting problems.

    Will keep looking...

    --Sohodojo Jim--

  4. #4
    rickcrites's Avatar
    rickcrites is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    468

    Default Re: fckeditor(?) not working in forums (using FF)

    I am using FF and can use the FCKeditor in the forums and emails without difficulty. The screen aways starts with the HTML editor buttons "hidden". But when I click on the little arrow, it opens up and I can use it just fine. I am using FF version 1.5.0.7.

    However, there seems to be a very irritating bug in the forums module that introduces a question mark whereever there are two blank spaces in a row. See example below:

    10/20- Friday

    ��������� 9am- noon- Session 2� - Vendors, Featured Speakers

    Noon- 1:30pm- Lunch

    1:30- 5pm- Session 3 - Featured Speakers

    ��������� 5pm on Team Night������

    These show up at the end of almost every line, as I am in the habit of putting two spaces between sentences.

    Is anyone else getting this?

    Best,
    Rick Crites

    First Founders Financial
    Clearwater, FL USA

    SugarCRM "Fully Loaded" version 4.5.1,
    by Ken Brill (great work)!

    Linux kernel 2.6.9-023stab033
    Apache 1.3.37
    PHP 5.1.6
    MySQL 5.0.27-standard

  5. #5
    SohodojoJim is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Fairfield, Iowa USA
    Posts
    29

    Default Re: fckeditor(?) not working in forums (using FF)

    Quote Originally Posted by rickcrites
    I am using FF and can use the FCKeditor in the forums and emails without difficulty.
    Hmmmm.... I have the same FF. But what I get after (in the Forum editor, for example) is the Body label and then zip, nada, a large blank space with nothing displayed where the textarea should be.

    Viewing the source however, I see the iframe tag and its content that should be calling the FCKeditor. But there is nothing there but the blank space.

    This is strange, as I said, because my browser shows the editor when I go the FCKedutor demo page.

    --Sohodojo Jim--

  6. #6
    peterrisdon is offline Junior Member
    Join Date
    Jun 2007
    Posts
    1

    Default Re: fckeditor(?) not working in forums (using FF)

    I've identified two problems, one in modules/Threads/DetailView.php and one in modules/Threads/EditView.php

    In EditView you need to change FCKeditor paths in the block headed ///////////////// TEXT EDITOR to:

    if(file_exists('../include/FCKeditor/fckeditor.php'))

    and

    include('../include/FCKeditor_Sugar/FCKeditor_Sugar.php')

    This fixes the missing message body textarea problem.

    In DetailView.php there is a block of html at the foot of the document, with a number of small bits of embedded php - but these bits aren't declared properly. Changing the "<?" tags to "<?php" fixes some issues.

Thread Information

Users Browsing this Thread

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

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
  •