Moodle Tips!
Google Translator - Page as well as Text to Speech PDF Print E-mail
Written by Ken Task   
Sunday, 08 May 2011 17:15
AddThis Social Bookmark Button

This morning saw an announcement for a new Moodle plugin that provides text to speech translation of specific text. Was really cool but alas using Googles FREE (for now) TTS service is an issue.  Not unusual as Google could change the code at any time and thus, if the plugin isn't flexible enough, it's rendered un-usable. :(

After one selects the language parameters ... ie, English to Spanish ... just type into the box. As one types, it translates.  And, it provides a 'Listen' button below each box.  Clicking allows one to listen to the text in either language chosen.

Going further with Google Translate (has an iPhone/Pad app and a Android app) ...  has a web site where one can clip code and embed into any web page.  First thing that came to my mind was a Moodle.

The Tool: http://translate.google.com/translate_tools

In using the Tools page for Google Translate, it has options for translating the entire webpage or section of the web page and selecting the language - default for your site + the specific languages to make available to the user.  Example an ISD Moodle which is typically in English, would choose:
Add translation to a section of the web page
Section specifics: English and leave the other items at default.
Default Language: English
Translation Language: Spanish and English.
Set display mod as 'dropdown only'.

The code that is generated simply copied to the clipboard.

Then, getting into the edit mode of Moodle and opening the web page resource, at the very top of the content, open up a couple of blank lines by pressing enter 3 times.  This inserts three (line break tags).
Found this to be very useful to separate content from what is about to be embedded.

Switch the mod to HTML (the icon in the editor).
Replace the middle with your clipboard contents (in this case the Google embedded translate code).

Save

Then try it out! ;)

Can see it in action at:
http://sos.tcea.org/moodle19/
(look in right column of the front page).

 
Getting an error when updating your Moodle via CVS recently? PDF Print E-mail
Written by Ken Task   
Sunday, 25 July 2010 08:01
AddThis Social Bookmark Button
First of all, have to say, it figures! :\  Article written a short time ago saying CVS is the only way to update a Moodle and claiming I've 'never' had an issue reminds me to change what I say ... 'never' say 'never'! :\

I upgrade/update Moodles via CVS.  In attempts to update this past week, an error raised it's ugly head:
'can't create temporary directory /tmp/cvs-serv22979'

After investigating my own server(s) and then trying CVS update other servers of different operating systems and getting the same error, discovered the problem is with us.cvs.moodle.org server.  Changing the CVS server to us2.cvs.moodle.org resolved the issue and am able to complete CVS updates.

If you have already used CVS and you've an update script inside your Moodle directory, edit the 'Root' file in the CVS directory and change the host name from:

:pserver:anonymous@us.cvs.moodle.org:/cvsroot/moodle

to:

:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle

Then try your CVS update again.

 
Why Updating Moodle via CVS IS the better way to go ... PDF Print E-mail
Written by Ken Task   
Friday, 16 July 2010 12:00
AddThis Social Bookmark Button
If you've added some additional mods/blocks/themes to Moodle, by far, the easiest way to upgrade is CVS.
The 'long way' requires one to either move or create some method of getting those add-ons into the new Moodle.
IMHO, easier to leave the Moodle in place and run CVS.  You might get more than you need, but it is an "easy button" when one compares the steps involved.

BEFORE doing anything such as this, BACKUP your Moodle - the directory at your web root AND do a mysql dump of the database!  DON'T IGNORE THIS! (author not responsible!!!!)

The first time one updates a Moodle instance via CVS one has to issue two commands:

cvs -d:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle login;
cvs -z3 -d:pserver:anonymous@us2.cvs.moodle.org:/cvsroot/moodle co -P -d moodle -r MOODLE_19_WEEKLY moodle;


The first will prompt for a password.  Just press ENTER.

After it has completed, hit the admin directory of the Moodle:
http://[yoursite]/[yourmoodle]/admin/

That should begin the process and eventually you will be forced to login as an Admin level user to finish the update.

Once you've successfully done that, create a text file (we're going to make it an executable script to run via command line OR from Webmin as a button) called 'update'.
In the 'update' script, copy and paste the following:

echo 'moving version.php to .old';
mv version.php version.php.old;
echo 'updating via cvs ...';
cvs update -dP;
echo 'CVS update completed ...';
echo 'Setting permissions ...';
chown apache:apache * -R;
ls -l version.php;
fgrep '$release' version.php;
echo 'Now hit Admin Notifications of this Moodle to update the database.';
echo 'Done.';


To make 'update' executable: chmod u+x update [ENTER]

To run it from the command line as root user:
cd /var/www/html/[yourmoodleinstance] [ENTER]
./update [ENTER]

To run it as a button in Webmin:

Login to Webmin
Go to: Others -> Custom Commands -> Create a new custom command
In description box: CVS Update Moodle
Command: /var/www/html/[yourmoodledir]/update
Run in directory: /var/www/html/[yourmoodledir]/
Run As: root and check the box for 'Use user's environment'
Save the button

Now before trying the button, BACkUP your Moodle!

Remember that either way, the update is not complete until you step through the update in Moodle itself.
The update will be run when you hit admin in your Moodle.  It is important one does that as there could be
new options for you to set/consider.

If you have 'oodles of Moodles' … ie, more than one installation ... that has undergone an initial update via CVS, copy the 'update' script into each instances directory.  You need to make adjustments to your Webmin button then.
The button could take a directory argument before clicking the 'do it' button.

Please see Moodle.org's information concerning upgrading:
http://docs.moodle.org/en/Administrator_documentation#Installation_.26_Upgrading
http://docs.moodle.org/en/Upgrading
http://docs.moodle.org/en/Upgrading#Using_CVS
 
20 Must Have Moodle Modules PDF Print E-mail
Written by Ken Task   
Saturday, 12 June 2010 10:06
AddThis Social Bookmark Button
 
Math and Moodle PDF Print E-mail
Written by Ken Task   
Saturday, 12 June 2010 08:43
AddThis Social Bookmark Button
In order to get or explore Math possibilities in Moodle, some additional software on server must be installed.

CentOS example:

As root user:
yum install tetex tetex-fonts tetex-dvips tetex-latex ghostscript

As MoodleMaster/Admin Level user in Moodle
Site Administration -> Modules -> Filters -> Manage Filters
Un-hide Algebra Notation and TeX Notation

Settings for TeX Notation:
IF the install above went ok, there should be nothing to change.
Look for the check marks and Save Changes.

Path of latex binaryfilter_tex_pathlatex  (check mark) Default: /usr/bin/latex
Path of dvips binaryfilter_tex_pathdvips  (check mark) Default: /usr/bin/dvips
Path of convert binaryfilter_tex_pathconvert (check mark) Default: /usr/bin/convert

Create a web page resource (this taken from the famous "Moodle Features Demo" course) with the following:

Name: Mathematics notation
Summary: Moodle is a unique system in providing easy ways to produce good looking mathematics.
Web Page content:
-- begin copy below this line --
TeX Filter
This filter allows you to type in any standard Tex within dollars signs, anywhere in Moodle (including forums etc) like this:

$$$ \Bigsum_{i=\1}^{n-\1}\frac1{\Del~x}\Bigint_{x_i}^{x_{i+\1}}\{\frac1{\Del~x}\big[(x_{i+1}-x)y_i^{5$\star}\big]-f(x)\}^\2dx$$$

and it will be displayed efficiently like this:

$$ \Bigsum_{i=\1}^{n-\1}\frac1{\Del~x}\Bigint_{x_i}^{x_{i+\1}}\{\frac1{\Del~x}\big[(x_{i+1}-x)y_i^{5$\star}\big]-f(x)\}^\2dx$$

Algebra Filter
The algebra filter is similar but allows a more informal calculator-like notation within @@@ characters:

@@@cosh(x,2)-sinh(x,2)=1@@@

@@cosh(x,2)-sinh(x,2)=1@@
-- end copy ... do NOT include this line --

Reference:
Moodle vs. ....
http://www.csun.edu/~hcmth008/lms_documents/moodle_versus_webct_1.1.html

DragMath
http://www.deeringmath.com/DragMath/index.html

Test your math filters:
http://[your_moodle]/[moodle_dir]/filter/tex/texdebug.php

Khan Academy - YouTube
WORTH SUBSCRIBING!

Algebra 1


Variable Expressions
Order of Operations
Patterns and Equations
Equations and Inequalities
Domain and Range of a Function
Functions as Graphs
Word Problem Solving Plan 1
Word Problem Solving Strategies
Integers and Rational Numbers
Addition of Rational Numbers
Subraction of Rational Numbers
Multiplication of Rational Numbers
Distributive Property
Division of Rational Numbers
Square Roots and Real Numbers
Problem Solving Word Problems 2
One Step Equations
Two-Step Equations
Multi-Step Equations
Equations with Variables on Both Sides
Ratio and Proportion
Scale and Indirect Measurement
Percent Problems
Word Problem Solving 3
The Coordinate Plane
Graphing Using Intercepts
Graphs of Linear Equations
Slope and Rate of Change
Graphs Using Slope-Intercept Form
Direct Variation Models
Linear Function Graphs
Word Problem Solving 4
Linear Equations in Slope Intercept Form
Linear Equations in Point Slope Form
Linear Equations in Standard Form
Equations of Parallel and Perpendicular Lines
Fitting a Line to Data
Predicting with Linear Models
Using a Linear Model
Inequalities Using Addition and Subtraction
Inequalities Using Multiplication and Division
Multi-Step Inequalities
Compound Inequalities
Absolute Value Equations
Absolute Value Inequalities
Graphing Inequalities
Solving Linear Systems by Graphing
Solving Linear Systems by Substitution
Solving Systems of Equations by Elimination
Solving Systems of Equations by Multiplication
Special Types of Linear Systems
Systems of Linear Inequalities
Exponent Properties Involving Products
Exponent Properties Involving Quotients
Zero, Negative, and Fractional Exponents
Scientific Notation
Exponential Growth Functions
Exponential Decay Functions
Geometric Sequences (Introduction)
Word Problem Solving- Exponential Growth and Decay
Addition and Subtraction of Polynomials
Multiplication of Polynomials
Special Products of Binomials
Polynomial Equations in Factored Form
Factoring Quadratic Expressions
Factoring Special Products
Factor by Grouping and Factoring Completely
Graphs of Quadratic Functions
Solving Quadratic Equations by Graphing
Solving Quadratic Equations by Square Roots
Solving Quadratic Equations by Completing the Square
Using the Quadratic Formula
Proof of Quadratic Formula
Discriminant of Quadratic Equations
Khan Academy Vision and Social Return
Linear, Quadratic, and Exponential Models
Identifying Quadratic Models
Identifying Exponential Models
Quadratic Regression
Graphs of Square Root Functions
Radical Expressions with Higher Roots
More Simplifying Radical Expressions
How to Rationalize a Denominator
Extraneous Solutions to Radical Equations
Radical Equation Examples
More Involved Radical Equation Example
Pythagorean Theorem
Distance Formula
Midpoint Formula
Visual Pythagorean Theorem Proof
Average or Central Tendency: Arithmetic Mean, Median, and Mode
Range, Variance and Standard Deviation as Measures of Dispersion
Stem and Leaf Plots
Histograms
Box-and-whisker Plot
Proportionality
Asymptotes of Rational Functions
Another Rational Function Graph Example
A Third Example of Graphing a Rational Function
Polynomial Division
Simplifying Rational Expressions
Multiplying and Dividing Rational Expressions
Adding Rational Expressions Example 1
Adding Rational Expressions Example 2
Adding Rational Expressions Example 3
Solving Rational Equations
Two more examples of solving rational equations
Surveys and Samples
 
<< Start < Prev 1 2 3 Next > End >>

Page 1 of 3
Joomla template by a4joomla