This is an old revision of the document!
Table of Contents
searchform Plugin
Compatible with DokuWiki
Ponder Stibbons
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to confsearch, datasearchform
Installation
Install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually with download url above.
Syntax
To include a searchform in any page you add the syntax:
{searchform}
It will show a search box that searches default in the namespace where that page is.
To perform searches in other namespaces you add the option ns=<your:namespace>
{searchform ns=wiki} {searchform ns=} {searchform ns=other:namespace}
These boxes searches respectively in wiki:
, all namespaces or in the subnamespace other:namespace
.
Development
This plugin is adopted by Klap-in in 2014.
Changes:
- The searchform searches default in the namespace of the page where it is included
- or searches the namespace given by syntax option
ns=<your:namespace>
- Multiple searchforms at one page are possible
- Reformatting and refactoring of the code
Previous release by Adolfo González Blázquez, last updated at 2008-10-10:
- searchform-plugin-2008-10-10.tar.gz (broken url)
- or see code-snippet in revision 1403215126
- or as first commit 201f22cfb4 of the fork
- Original plugin author's website: http://www.infinicode.org/code/dw/ (broken url)
- You can also get the svn version using this command:
svn co http://svn.infinicode.org/dw/trunk/searchform/
(broken url)