More aspell....

More aspell....

بواسطة - Stan Golob
عدد الردود: 6
I installed aspell after having moodle up and running for several months.

I can run it from a command line, and everything appears to work fine, however in the HTMLEdit settings page, the dropdown for spell checking is greyed out and won't allow me to enable it.  Is there something else I need to do to tell moodle that aspell's been installed?

Thanks,
Stan
متوسط التقييمات: -
رداً على Stan Golob

Re: More aspell....

بواسطة - Rico Dredd

Check in the Moodle - Admin - Config - Editor setting for the place to turn in on called editorspelling in 1.4.4 and select Yes obviously.

Hope this works for you

Rico

رداً على Stan Golob

Re: More aspell....

بواسطة - mark zuber

Stan,

I have the same problem. I can not enable spell checking, it is also greyed out and won't allow me to enable it.  The aspell is installed on my server.

Did you solve this problem?

Mark

رداً على mark zuber

Re: More aspell....

بواسطة - Janne Mikkonen
If you're using Moodle 1.4.x you must add $CFG->aspellpath into your config.php
($CFG->aspellpath = '/path/to/aspell') After that the spellchecking choise is enabled.
رداً على Janne Mikkonen

Re: More aspell....

بواسطة - mark zuber

Janne,

Thanks for the spellchecking hint.

Are you suggesting to download config.php from the moodle folder on my server, making the addition of ($CFG->aspellpath = '/path/to/aspell') and uploading config.php back to the moodle folder on my server?

Where exactly this line should be added?

Mark

رداً على mark zuber

Re: More aspell....

بواسطة - Janne Mikkonen
Pretty much that'll do it.

You can add the line somewhere before php ending tag '?>' like:

<?php  /// Moodle Configuration File

unset($CFG);

$CFG->dbtype    = 'mysql';
$CFG->dbhost    = 'yourhost';
$CFG->dbname    = 'yourdbname';
$CFG->dbuser    = 'youruser';
$CFG->dbpass    = 'yourpass';
$CFG->dbpersist =  true;
$CFG->prefix    = 'mdl_';

$CFG->wwwroot   = 'http://your.domain.tld';
$CFG->dirroot   = '/usr/local/apache/htdocs/path';
$CFG->dataroot  = '/your/data/path';
$CFG->admin     = 'admin';

$CFG->directorypermissions = 0777;
$CFG->aspellpath = '/usr/bin/aspell';
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
رداً على Janne Mikkonen

Re: More aspell....

بواسطة - mark zuber

Thanks again Janne!

What I also need is to prevent my students from jumping ahead, unless they complete one topic they should not be permitted to proceed to the following topic. My course consists of 15 chapters-topics subdivided into lessons, and the final test is in topic 16.

I have noticed some work on "activity locking" at moodle.org . I wonder if the "activity locking" is what I really need to prevent jumping ahead. I think that activity locking will be available in the next moodle 1.5 upgrade. Do you know anything about activity locking?

Will this line of script for spell checking be available as a standard part in moodle 1.5?

Mark Zuber