Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:03:03 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155553 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: fckeditor w/ spellerpages in FF  (Read 2254 times)
centran

Offline Offline

Posts: 76


« on: April 08, 2006, 05:45:50 PM »

I need some help with fckeditor and Spell Checking.
I enabled SpellerPages and was able to change the proper script to use Linux instead of Windows.
It works great in IE. However, I like to use fire fox.
In fire fox the spelling box is disabled. I can not find what bit of code and in what file is checking which browser you are using and disabling it.
It is diabling this button becuase the defualt spell checker is iespell which only works in IE. I thought by changing the SpellChecker variable that it would stop checking for IE and disabling the spell check button.

Can someone who knows fckeditor help me out here?
Where and which file does it check your browser and disables the spell check button if you are not using IE?
Logged
centran

Offline Offline

Posts: 76


« Reply #1 on: April 08, 2006, 05:55:12 PM »

Oh, if anyone wants to get to the point that I am at then this is what you have to do.

Make sure your server has aspell.

Go to modules/fckeditor/fckeditor
edit fckconfig.js
change this line ~159
FCKConfig.SpellChec ker                  = 'ieSpell' ;
to
FCKConfig.SpellChec ker                  = 'SpellerPages' ;


If you are using Linux there is one more file you need to edit.

/modules/fckeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/
edit spellchecker.php
The line is already in there
comment out
//$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"';
and uncomment
$aspell_prog = 'aspell';

That worked for my server. You might need to the direct path to aspell.

Now I just need to firgure out how to make the spellcheck buttom active in fire fox or hopefully someone can help me with that.

Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #2 on: April 08, 2006, 06:24:42 PM »

Hello,

as this is a FCKEditor specific question, maybe it is better to search the answer in the Forum of the FCKEDitor page. This forum here is for WB specific questions.

I think the button is disabled in Firefox, because it don't works with firefox. So I don't know why you wanna eneble something wich doesn't work.

Matthias
Logged
centran

Offline Offline

Posts: 76


« Reply #3 on: April 08, 2006, 07:07:02 PM »

Well I am asking here because someone intergrated it for WB. They probably know more then I do.

I thought, from what I have been reading, all you have to do is set the spell checker as spellerpages.

The reason it is disabled is because the default spell checker is iespell which will only work in IE. SpellerPages will work in firefox as the spell checking is done on the server.

I have tried searching around(google, fckeditor.net) but with no luck. From what I have gathered, fckeditor should automaticaly stop disabling the spell check in other browsers if you change the spell checker from iespell to spellerpages. But, it is not working that way.
« Last Edit: April 08, 2006, 08:02:49 PM by centran » Logged
gilly

Offline Offline

Posts: 49


« Reply #4 on: August 22, 2008, 04:28:11 AM »

Hi Centran,

Did you find a solution to this not working in FF? I have the same problem as you, works in IE7, but not FF, after following your instructions on how to activate SpellerPages.

Cheers
Logged
centran

Offline Offline

Posts: 76


« Reply #5 on: August 26, 2008, 12:31:23 AM »

um, I think the solution was a new version huh I honestly do not remember... All I know is that the newest WB and FF3 works.

Make sure it is set to use spellerpages in fckconfig and only do the change in spellerpages.php if you are on a linux based system. Are you sure you are using spellerpages in IE and not iespell?

You also need to clear your cache after you make any changes to the config files.

I can offer you one more suggestion. However, I think this was only implemented in the recent fckeditor and you need to the newest WB to get it.
In fckconfig.js there are some more config lines that make it friendlier to FF.

FCKConfig.FirefoxSp ellChecker and FCKConfig.BrowserCo ntextMenuOnCtrl

The first one will let FF mark misspelled words with the redline underneath. The second one will let you bring up the FF context menu only while you are holding down Ctrl. This will allow you to fully utilize the FF spell checking feature by seeing misspelled words and then you can correct them through the CC context menu by holding down ctrl while right clicking.
Logged
gilly

Offline Offline

Posts: 49


« Reply #6 on: August 26, 2008, 04:06:38 AM »

Thanks for the info Centran - I have saved it as a reference. It turns out my browser cache just needed to be flushed. So now the spellchecker works fine on both IE and FF!

Thanks a lot!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!