SpellChecking using Ajax spell

Tancredi D'Onofrio tanc at whitespace-studios.com
Sat Feb 11 05:33:26 CET 2006


Thanks Chris, I got it working. I also had to disable personal  
dictionaries in the spell_checker.php file though. And I agree, the  
window gets all messed up somehow.

On 11/02/2006, at 12:15 PM, Chris Richardson wrote:

> oh sorry fellas i didnt notice i left it out the file is
>
> roundcubemail/skins/default/templates/compose.html
>
> but i also noticed that once you do that that is screws up changing  
> folders I
> am trying to figure out how to fix it but thus far i have figured  
> out it has
> something to do with the ajax spell with the window onload some reason
> lossing session or something
>
> this is the snippet that i think is causing the problem so if some  
> one more
> technical could look at it I dont believe it would be hard to fix
>
> roundcubemail/js/spell_checker.js
>
>  if(window.onload)
>  {
>         var old_onload = window.onload;
>         window.onload = function(e)
>         {
>                 setupSpellCheckers(e);
>                 old_onload(e);
>         }
>  }
>  else
>  {
>
>         window.onload = setupSpellCheckers;
>  }
>
> hope that this might help some one get close to the end I will let  
> you know
> when I talk to some of my coder friends if I find anything
>
> On Sat, 11 Feb 2006 11:36:41 +0800, Tancredi D'Onofrio wrote
>> Hi Chris, just trying out your instructions. Can you clarify which
>> file you are referring to when you say edit this line:
>> roundcube:object name="composeBody" id="compose-body" form="form"
>> cols="80" rows="20" warp="virtual" tabindex="7"
>>
>> Thanks.
>>
>> On 11/02/2006, at 4:50 AM, Chris Richardson wrote:
>>
>>> Sorry didnt relize it would cut out parts of this
>>> full instructions are here
>>>
>>> http://brokeragetechnology.com/spellcheck_roundcube.txt
>>>
>>> On Fri, 10 Feb 2006 15:23:04 -0500, Chris Richardson wrote
>>>> I was bored just back round I am not that good with php never mind
>>>> java but works nice I am sure it could use some tweaking
>>>>
>>>> Requirements:
>>>>
>>>> Pspell
>>>> Ajax spell
>>>>
>>>> download ajax spell
>>>> http://www.broken-notebook.com/spell_checker/download.php
>>>>
>>>> extracted then move the follow files
>>>>
>>>> mv cpaint /roundcubemail/
>>>> mv css /roundcubemail/
>>>> mv js /roundcubemail/
>>>> mv spell_checker.php /roundcubemail/
>>>> mv pspell_comp.php /roundcubemail/
>>>>
>>>> Add the following to
>>>>
>>>> roundcubemail/skins/default/includes/header.html
>>>>
>>>> edit
>>>>
>>>> line from
>>>>
>>>> line to
>>>>
>>>> or if you would like text instead of icons change line to
>>>>
>>>> done have fun
>>>>
>>>> -- 
>>>> -Chris Richardson
>>>> --
>>>> Network & Unix Administrator
>>>> Cantella & Co., Inc. (http://www.cantella.com)
>>>> 2 Oliver Street, 11th Floor
>>>> Boston, MA 02109
>>>> (617)224-1438 - direct
>>>> (617)521-8630 - office
>>>> (617)521-8604 - fax
>>>>
>>>> The information transmitted is intended only for the person or
>>>> entity to which it is addressed and may contain confidential and/or
>>>> privileged material. Any review, retransmission, dissemination or
>>>> other use of, or taking of any action in reliance upon, this
>>>> information
>>>> by persons or entities other than the intended recipient is
>>>> prohibited.
>>>> If you received this in error, please contact the sender and
>>>> delete this
>>>> material from any computer.
>>>>
>>>> In accordance with industry regulations, all messages are retained
>>>> and are subject to monitoring.
>>>>
>>>> This message has been scanned for viruses and dangerous content and
>>>> is believed to be clean.
>>>>
>>>> Securities offered through Cantella & Co., Inc., Member NASD/SIPC.
>>>> Home Office: 2 Oliver Street, 11th Floor, Boston, MA 02109
>>>> Telephone: (617)521-8630
>>>
>>>
>>> -Chris Richardson
>>> --
>>> Network & Unix Administrator
>>> Cantella & Co., Inc. (http://www.cantella.com)
>>> 2 Oliver Street, 11th Floor
>>> Boston, MA 02109
>>> (617)224-1438 - direct
>>> (617)521-8630 - office
>>> (617)521-8604 - fax
>>>
>>>
>>> The information transmitted is intended only for the person or  
>>> entity
>>> to which it is addressed and may contain confidential and/or
>>> privileged material. Any review, retransmission, dissemination or
>>> other use of, or taking of any action in reliance upon, this
>>> information
>>> by persons or entities other than the intended recipient is
>>> prohibited.
>>> If you received this in error, please contact the sender and delete
>>> this
>>> material from any computer.
>>>
>>> In accordance with industry regulations, all messages are retained
>>> and are subject to monitoring.
>>>
>>> This message has been scanned for viruses and dangerous content and
>>> is believed to be clean.
>>>
>>> Securities offered through Cantella & Co., Inc., Member NASD/SIPC.
>>> Home Office: 2 Oliver Street, 11th Floor, Boston, MA 02109
>>> Telephone: (617)521-8630
>>>
>>>
>>>
>>
>> Tancredi D'Onofrio
>>
>> Whitespace Studios Ltd
>> http://www.whitespace-studios.com
>> tanc at whitespace-studios.com
>>
>> PGP Encryption public key ID:
>> 72752E35
>>
>> Obtain my vCard
>
>
> -Chris Richardson
> --
> Network & Unix Administrator
> Cantella & Co., Inc. (http://www.cantella.com)
> 2 Oliver Street, 11th Floor
> Boston, MA 02109
> (617)224-1438 - direct
> (617)521-8630 - office
> (617)521-8604 - fax
>
>
> The information transmitted is intended only for the person or entity
> to which it is addressed and may contain confidential and/or
> privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this  
> information
> by persons or entities other than the intended recipient is  
> prohibited.
> If you received this in error, please contact the sender and delete  
> this
> material from any computer.
>
> In accordance with industry regulations, all messages are retained  
> and are subject to monitoring.
>
> This message has been scanned for viruses and dangerous content and  
> is believed to be clean.
>
> Securities offered through Cantella & Co., Inc., Member NASD/SIPC.
> Home Office: 2 Oliver Street, 11th Floor, Boston, MA 02109
> Telephone: (617)521-8630
>



Tancredi D'Onofrio

Whitespace Studios Ltd
http://www.whitespace-studios.com
tanc at whitespace-studios.com

PGP Encryption public key ID:
72752E35

Obtain my vCard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20060211/1d9641ff/attachment-0001.html>


More information about the Dev mailing list