blog:2020-11-08:geogebra_plugin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
blog:2020-11-08:geogebra_plugin [2020/11/08 09:10] – [Wave Addition] va7fi | blog:2020-11-08:geogebra_plugin [2020/11/09 15:01] – va7fi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Geogebra Plugin ====== | ====== Geogebra Plugin ====== | ||
- | I created a plugin to embed [[https:// | + | [[https:// |
- | This is my first plugin and a bit of a cheat: I basically took the [[https:// | + | In the past, I had to export Geogbra files to html5 to embed them, but the process was pretty clunky and time consuming. I searched the Dokuwiki plugins but all the ones listed are too old and don't work anymore. |
- | Here' | + | Here' |
+ | |||
+ | Here's how to installed it: | ||
< | < | ||
- | * Add the following three files in the wiki folder: '' | + | * Add the following three files in the wiki folder: '' |
* '' | * '' | ||
installed=Sun, | installed=Sun, | ||
* '' | * '' | ||
- | base ggb | + | base ggb2 |
author Patrick Truchon | author Patrick Truchon | ||
email patoo@rbox.me | email patoo@rbox.me | ||
date | date | ||
name | name | ||
- | desc Include GeoGebra6 | + | desc Embeds GeoGebra 6 files into Dokuwiki</ |
* '' | * '' | ||
<?php | <?php | ||
/** | /** | ||
- | * Plugin | + | * Plugin |
* | * | ||
* @license | * @license | ||
Line 36: | Line 38: | ||
* need to inherit from this class | * need to inherit from this class | ||
*/ | */ | ||
- | class syntax_plugin_ggb | + | class syntax_plugin_ggb2 |
function getType(){ return ' | function getType(){ return ' | ||
function getSort(){ return 306; } | function getSort(){ return 306; } | ||
- | function connectTo($mode) { $this-> | + | function connectTo($mode) { $this-> |
blog/2020-11-08/geogebra_plugin.txt · Last modified: 2021/01/03 08:08 by va7fi