Difference between revisions of "GeoGebra filter"

Jump to: navigation, search
Line 21: Line 21:
 
Exclude the geogebra filter from your moodle clone (otherwise git will complain that the files are untracked)
 
Exclude the geogebra filter from your moodle clone (otherwise git will complain that the files are untracked)
 
  cd /path/to/your/moodle/checkout
 
  cd /path/to/your/moodle/checkout
  echo filter/geogebra >> .git/info/exclude
+
  echo /filter/geogebra/ >> .git/info/exclude
 
You can now update your filter using
 
You can now update your filter using
 
   cd /path/to/your/moodle/filter/geogebra
 
   cd /path/to/your/moodle/filter/geogebra

Revision as of 13:48, 10 August 2011


The GeoGebra filter is aimed at easier integration of GeoGebra files with Moodle. The GeoGebra filter converts links to GeoGebra files and GeoGebra tools files to an embeded applet. It should work for all ressources and activities. From Moodle 2.X onwards it provides the possibility for different configuration in each context.

Examples

Installation

Using Git

Installation follows mainly: Installing_a_contributed_extension_from_its_Git_repository

Navigate to your moodle filter directory

cd /path/to/your/moodle/
cd filter

Clone the GeoGebra filter repository to a new directory geogebra

git clone git://github.com/cmiic/moodle-filter_geogebra.git geogebra

Checkout the branch appropriate for your Moodle Installation (available branches are MOODLE_21_STABLE, MOODLE_20_STABLE, MOODLE_19_STABLE)

cd geogebra
git checkout -b MOODLE_21_STABLE origin/MOODLE_21_STABLE

Delete the automatically created master branch

git branch -d master

Exclude the geogebra filter from your moodle clone (otherwise git will complain that the files are untracked)

cd /path/to/your/moodle/checkout
echo /filter/geogebra/ >> .git/info/exclude

You can now update your filter using

  cd /path/to/your/moodle/filter/geogebra
  git pull

We strongly encourage you to use a shell-script and cron for updating the filter on a regular basis .

Using .zip or .tar.gz packages

We strongly discourage you to do that, because you will fail to catch up with upgrades and you will end up using an outdated Moodle core, outdated GeoGebra jars and an outdated filter. So only use this option if you don't have any decent access to your server.

Download:

Put the contents of the .tar.gz or .zip packages in /path/to/your/moodle/filter/geogebra. You should end up with the filter.php and all the other files and subdirectories (lang, db, 32) residing in /path/to/your/moodle/filter/geogebra (if you just unpack you will end up with an additional folder and Moodle will tell you that the filter is defunct or outdated).

Upgrading from 1.9 to 2.X

Settings

Tips and tricks

See also