|
Table of Contents
Terms highlighting plugin
This DokuWiki plugin allows definition of term which is then highlighted using SyntaxDokuwiki Syntax: <term Title>Text description</term>
Example: <term Plugin>Computer program that can, or must, interact with another program to provide a certain function</term>
will highlight all occurences of word Plugin as acronym with popup description, as you can see on this page. Notes
PluginStep 1: Check requirementsThis plugin needs DokuWiki 2005-08-02 or later. You can check this by viewing the source of one of your DokuWiki pages: it contains a header with the DokuWiki version. Example: <meta name="generator" content="DokuWiki Release 2005-08-02" />
If you have an older version, you can either upgrade DokuWiki or split this plugin into two parts. To split this plugin in two parts, please replace these file locations in the following steps: Step 2: The dokuwiki plugin Termadd
This is the term registering plugin, which parses PHP file
Step 3: The dokuwiki plugin TermshowThis is the term rendering plugin that will recognize words and highlight them if found in list of terms.
To install, put the following PHP file into PHP file
Step 4: Stylesheet
To install, put the following PHP file into CSS file
Bugs
Todo
DiscussionHi, on DokuWiki Release 2006-03-09 i have problem with installation, i have created all three files, plugin comes up in plugin manager, but unfortunatelly there is no html output produced after i put even your examples in the wiki code :(, anyone experienced such a behaviour before |