Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorProblem with FCK editor after upgrading to DNN 4.5.3Problem with FCK editor after upgrading to DNN 4.5.3
Previous
 
Next
New Post
6/25/2007 5:50 PM
 

After upgrading DNN from version 4.4 to 4.5.3, we started having a problem with the FCK editor when it is embedded inside of a module's settings control and the user is using Firefox.  When the settings view first loads, you can not edit anything in the editor.  No matter how much you click on the content area, it will not place a cursor there to allow typing.  You can highlight the existing text, but you can not edit, delete, or add to it.  If you click on the button to change to the source view and then change back again, the editor wil then work normally from there on.  However, if you reload the page, the problem comes back again until you once again perform the work around of switching to source view and back.  The problem does not seem to be occurring with IE 6 at all (haven't checked 7), but it consistently occurs with Firefox.  The problem also seems to be isolated to when the editor is embedded inside of a module's settings control.  It works fine when it is embedded inside a regular module control such as in the standard Text/Html module.

Has anyone else seen this behavior?  Any ideas on how to fix it?

Thanks

 

 
New Post
6/26/2007 11:59 PM
 

I use firefox and cannot see anything similar. Can you post a test url?


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
6/27/2007 11:45 AM
 

Unfortunately, I don't have a test URL I can give you.  Since the problem is only occurring when the editor appears within a module's settings view, I'd have to provide an admin login to one of our public facing sites to demonstrate it.  I'm guessing some people might be a bit upset with me if I provided their admin login on a public message board. :)

 

However, I ran across this wiki entry this morning that I think may help explain the problem:

http://wiki.fckeditor.net/Troubleshooting#head-b3157703eeeef9d287b4c922f9b43eab9d551417

The problem described there sounds awfully similar to what we are seeing.  Since the custom settings part of the page is initially hidden when the module's settings view is loaded, I'm guessing that is what is causing the problem.  Since the logic to show/hide that part of the page is in the core settings control and we would prefer not to alter any core code if at all possible, that might make fixing it somewhat tricky.  Any ideas on that?

 

 

 
New Post
6/27/2007 3:44 PM
 

I had some similar problems with the FCK editor, but I am using IE 6.  I was using a different editor with DNN 3.1 that will not work with 4.5.3.  The thing I noticed alot about FCK is if there are html tags missing or formatted non-standard I would get an error on the page in IE and I could not do any editing.  If I changed to the basic editor then went to the page with the problem I could clean up the html and then load the FCK editor without any problems.

 
New Post
6/27/2007 4:35 PM
 

I found a solution to this.  Including the following javascript code in the custom settings control that contains the editor seems to fix it without causing any other adverse effects.

    function FCKeditor_OnComplete(editorInstance)
    {
        editorInstance.Events.AttachEvent('OnFocus', fckEditorOnFocus);
    }

    function fckEditorOnFocus(editorInstance)
    {
        if(editorInstance.MakeEditable)
        {
            editorInstance.MakeEditable();
        }
    }

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorProblem with FCK editor after upgrading to DNN 4.5.3Problem with FCK editor after upgrading to DNN 4.5.3


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out