Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Deactivating spellcheck
Shockwave
Posted on 23 Nov 2010, 09:47:43

Access: Member
Total Posts: 3
Joined: 2010-11-23

Hello,

I've just started using your news system and am currently learning how to adapt it to suite my needs, but I can't seem to find the option to turn off spell checking in WYSIWYG editor - can you please help me?

Also, the template modification doesn't seem to display the {article} part of each post, I'm wondering now why that is so - the template is:

Code:
<table cellpadding="0" cellspacing="0" border="0" class="start-container">
<tr>
<td class="start-swirl"><img src="images/article-swirl.png" alt="" /></td>
<td class="start-space20"></td>
<td class="start-title">{title}</td>
</tr>
<tr>
<td class="start-space75">{date}</td>
<td class="start-space20"></td>
<td class="start-text"><p class="expand">{article}</p></td>
</tr>
</table>
<div class="vspace20"></div>

The "expand" class denotes a JQuery dynamic wrapper I need on my display page.

The news is included only via:

Code:
$cat[] = 'naslovna';
include ('n13/index.php');

Also, I'll check out the Croatian translation and suggest some improvements when I'm done.

Thanks for the help!
#3063
Hhawk
Posted on 07 Jan 2011, 08:57:34

Access: Member
Total Posts: 94
Joined: 2010-03-01

* bump *

How do you disable the spellcheck, I find it personally a bit annoying.
#3108
Chris
Posted on 07 Jan 2011, 14:10:26

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
/news/js/ckeditor/config.js


Below this

Code:
if(CKEDITOR.instances['story']){   


Add

Code:
CKEDITOR.instances['story'].disableNativeSpellChecker = true;


Below this

Code:
if(CKEDITOR.instances['shortstory']){


Add

Code:
CKEDITOR.instances['shortstory'].disableNativeSpellChecker = true;


Below this

Code:
if(CKEDITOR.instances['message']){


Add

Code:
CKEDITOR.instances['message'].disableNativeSpellChecker = true;


#3115
Last edited by Chris at 2011-01-07 19:08:09 Reason:
Hhawk
Posted on 07 Jan 2011, 14:33:06

Access: Member
Total Posts: 94
Joined: 2010-03-01

Thanks, but it still shows the red lines in editing messages and stuff...? Did I do something wrong here?
#3118
Last edited by Hhawk at 2011-01-07 14:37:04 Reason:
Chris
Posted on 07 Jan 2011, 14:41:53

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

The lines above I said to add, instead of

.disableNativeSpellChecker = true;

Change them to

.config.scayt_autoStartup = false;

That should work
#3120
Hhawk
Posted on 07 Jan 2011, 14:55:44

Access: Member
Total Posts: 94
Joined: 2010-03-01

I must be stupied, but that didn't work either. I only get a ton of new toolbars with it. Guess I will leave on the spellchecker. Thanks for trying though.
#3122
Chris
Posted on 07 Jan 2011, 14:57:52

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

It definitely does work, tried and tested myself, here's a copy of the config.js file.

http://dl.dropbox.com/u/2846351/config.js
#3123
Hhawk
Posted on 07 Jan 2011, 15:07:01

Access: Member
Total Posts: 94
Joined: 2010-03-01

Thanks I must have messed up something with the code. I tried yours and it's working both IE and Firefox. Thanks man! Appreciated as always...!
#3124
Shockwave
Posted on 07 Jan 2011, 16:19:00

Access: Member
Total Posts: 3
Joined: 2010-11-23

Thanks, much appreciated. :)
#3125
Shockwave
Posted on 08 Jul 2011, 10:40:10

Access: Member
Total Posts: 3
Joined: 2010-11-23

This'd be a good toggle option to add, to avoid editing the files, even though it's just 3 lines of code...
#3506
Network-13.com © 2013