Table of Contents
datasearchform Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
- 2018-04-22 "Greebo" yes
- 2017-02-19 "Frusterick Manners" yes
Similar to searchform
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:
{datasearchform flt=<filter>}
It will show a search box that searches through the data entries, matching the column of the given filter.
The entries are linked to a page named '..:datatable', using the given value as control filter. This page containing the 'datatable' command has to be in the same namespace as the page containing the datasearchform-command.
Example:
{datasearchform flt=keywords}
The given input in the searchform will lead to a search through the database of the data plugin for matching entries in the data field “keywords”. The result is displayed at the page called 'datatable' with the command ---- datatable ----
for displaying a datatable of the Data plugin.
Development
This plugin is copied and modified from the original plugin searchform by Klap-in.