[Solved] FCKeditor not showing up on clients computer

General project discussion. NOT for help questions.
Post Reply
Kristy
Forum Members
Forum Members
Posts: 20
Joined: Tue Jul 10, 2007 3:56 pm

[Solved] FCKeditor not showing up on clients computer

Post by Kristy »

Hi there,
I have set up a site for a client using version 1.2.
I installed the fckeditor and used it to set up the site. To my embarrassment, while showing my client her site on her Mac computer, fckeditor did not show up, only the html.
I logged in as me, with all the priviledges, and when we go to edit a page, there is no editor. Using her computer I went to preferences to confirm the install and it is installed. Can anyone explain why it shows and works for me on my pc but does not show up on the mac?? I also checked the site with the browser she used (Firefox) and again it shows for me but not her...

Any help would be appreciated!

Thanks,
Kristy
Last edited by Kristy on Fri Jan 11, 2008 8:02 pm, edited 1 time in total.
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: FCKeditor not showing up on clients computer

Post by cb2004 »

FCKeditor does not work on a Mac unless the FCKeditor version is 2.5. The mod looks like it is from December 2006 and version 2.5 was released in November 2007, therefore the mod needs updating.
Kristy
Forum Members
Forum Members
Posts: 20
Joined: Tue Jul 10, 2007 3:56 pm

Re: FCKeditor not showing up on clients computer

Post by Kristy »

Thank you, thank you. That sounds like a simple enough problem to fix.

Ok, I finally found the page for fckeditor http://dev.cmsmadesimple.org/projects/fckeditorx/ but as you said it's from 12/06

Do you know where I can get version 2.5?

Again thank you for your help!
Kristy
Forum Members
Forum Members
Posts: 20
Joined: Tue Jul 10, 2007 3:56 pm

Re: FCKeditor not showing up on clients computer

Post by Kristy »

Oh... Thanks.
I thought that the upgrade would be in the form of a module. So, I just upload this new version into the folder for fckeditor in the modules section? I just want to be sure I'm doing the right thing and don't want to mess anything up with this site.
nivekiam

Re: FCKeditor not showing up on clients computer

Post by nivekiam »

I won't know if you can just drop it in place.  You could always try.  I would rename the FCKeditorX/FCKeditor directory or make a backup it up and then drop in the new version of FCKeditor and see if it works.

Well I just tested it and it appears to work.  You'll need to rename the fckeditor directory to FCKeditor if you're website is on a non-windows machine.
Kristy
Forum Members
Forum Members
Posts: 20
Joined: Tue Jul 10, 2007 3:56 pm

Re: FCKeditor not showing up on clients computer

Post by Kristy »

Thank you nivekiam! I backed up the old fckeditor and following the directory structure uploaded the new one. It works!  The only problem I see is that when a page load I get a pop up box that says "Unknown toolbar item UniversalKey". Just click ok and it loads just fine. Other than that everything seems to be working. I'll need to check and see if my client can now edit.

Thank you so much for your time and patience. I hope other people who are considering CMSMadeSimple will check the forum first and see what a great response people get when they have problems.

Thank you again
Kristy
Kristy
Forum Members
Forum Members
Posts: 20
Joined: Tue Jul 10, 2007 3:56 pm

[Solved] re: FCKeditor not showing up on clients computer

Post by Kristy »

just put solved in the subject line
nivekiam

Re: [Solved] FCKeditor not showing up on clients computer

Post by nivekiam »

Kristy wrote: The only problem I see is that when a page load I get a pop up box that says "Unknown toolbar item UniversalKey". Just click ok and it loads just fine. Other than that everything seems to be working. I'll need to check and see if my client can now edit.
I didn't get any errors.  I would try clearing your browser cache.  It appears the newest version of FCKeditor has added a bunch of language dependent stuff and changed the locations of some files under it's own directory structure.
nivekiam

Re: [Solved] FCKeditor not showing up on clients computer

Post by nivekiam »

O.k.  Just working with creating some pages with FCKeditorX installed and got those error messages too.

Here is how to fix it (I backed up my old FCKeditor directory to FCKeditor_bak

1) Copy CMSContent and CMSModules from the old FCKeditor directory (hopefully you didn't delete it, but if you did you can re-download it from the repository: http://dev.cmsmadesimple.org/projects/fckeditorx/ and grab those 2 directories.

2)  Edit FCKeditorX.module.php and FCKeditorXcfg.js.php and remove the reference to UniversalKey.  Looks like the Universal Keyboard was removed in 2.3.3 because it lacked proper license info (another pain of FOSS, properly license your stuff ppl!!!)

Change:
        ['Image','Flash','Table','Rule','SpecialChar','UniversalKey'],

        ['Image','Flash','Table','Rule','SpecialChar'],

EDIT (2008-01-14):
It looks like almost everything works.  I was able to insert a cms_selflink and a few cms_module calls.  However, it appears if the module has any parameters it won't write the cms_module call to the editor when you click the OK button.  I don't know if its because of the new fckeditor or if didn't work in the current version or what.

Javascript error console shows that the error is in FCKeditor/editor/plugins/CMSModules/fck_cmsmodules.php on line 62 par has no properties

Looking at the javascript is making my eyes glaze over.  I'm no programmer, but if someone knows of a good javascript debugger where you can trap and watch execution I can probably figure it out.

EDIT (2008-01-14):
Well, I found the incompatiblity.  It's been broken since the change over to using CreateInputText.  The javascript the CMSModules link uses looks for a unique ID ad then a different name.  But the CreateInputText function forces the ID and name to be the same and the javascript doesn't see the second ID tag that's placed in there as "additional text".

I looked to see how TinyMCE did this and it appears to have either never had the CMSModules link or it's been removed for a long time now.

To fix it is actually pretty easy, if you want the CMSModules link, change how the CreateInputText function behaves.  But I don't know what that would effect.

To make it the same as TinyMCE, just remove some more text in FCKeditorX.module.php and FCKeditorXcfg.js.php and remove the reference to CMSModules.

Change:
        ['CMSModules','CMSContent','Link','Unlink','Anchor'],

        ['CMSContent','Link','Unlink','Anchor'],

Now, finally, you have something that your users can use and hopefully not have any errors.
Last edited by nivekiam on Tue Jan 15, 2008 7:04 am, edited 1 time in total.
Post Reply

Return to “General Discussion”