User Tools

Site Tools


blog:2020-11-08:geogebra_plugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
blog:2020-11-08:geogebra_plugin [2020/11/08 09:23] va7fiblog:2020-11-08:geogebra_plugin [2020/11/08 15:09] va7fi
Line 8: Line 8:
 Here's how to installed it: Here's how to installed it:
 <hidden> <hidden>
-  * Add the following three files in the wiki folder: ''./lib/plugins/ggb/''+  * Add the following three files in the wiki folder: ''./lib/plugins/ggb2/''
   * ''manager.dat''<code>   * ''manager.dat''<code>
 installed=Sun, 08 Nov 2020 08:20:00 -0800</code> installed=Sun, 08 Nov 2020 08:20:00 -0800</code>
   * ''plugin.info.txt''<code>   * ''plugin.info.txt''<code>
-base   ggb+base   ggb2
 author Patrick Truchon author Patrick Truchon
 email  patoo@rbox.me email  patoo@rbox.me
 date   2020-11-08 date   2020-11-08
 name   geogebra6 syntax plugin name   geogebra6 syntax plugin
-desc   Include GeoGebra6 files into Dokuwiki</code>+desc   Embeds GeoGebra 6 files into Dokuwiki</code>
   * ''syntax.php''<code php>   * ''syntax.php''<code php>
 <?php <?php
 /** /**
- * Plugin ggb: Embeds Geogebra files into Dokuwiki.+ * Plugin ggb2: Embeds Geogebra files into Dokuwiki.
  *  *
  * @license    GPL 3 (http://www.gnu.org/licenses/gpl.html)  * @license    GPL 3 (http://www.gnu.org/licenses/gpl.html)
Line 38: Line 38:
  * need to inherit from this class  * need to inherit from this class
  */  */
-class syntax_plugin_ggb extends DokuWiki_Syntax_Plugin {+class syntax_plugin_ggb2 extends DokuWiki_Syntax_Plugin {
  
     function getType(){ return 'substition'; }     function getType(){ return 'substition'; }
     function getSort(){ return 306; }     function getSort(){ return 306; }
-    function connectTo($mode) { $this->Lexer->addSpecialPattern('{{ggb>.*?}}',$mode,'plugin_ggb'); }+    function connectTo($mode) { $this->Lexer->addSpecialPattern('{{ggb>.*?}}',$mode,'plugin_ggb2'); }
  
  
blog/2020-11-08/geogebra_plugin.txt · Last modified: 2021/01/03 08:08 by va7fi