DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:datasearchform

datasearchform Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Adds a special search form to search through the data entries of the Data Plugin

Last updated on
2018-02-06
Provides
Syntax
Repository
Source
Requires
data

Similar to searchform

Tagged with data, search

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.

plugin/datasearchform.txt · Last modified: 2021-02-02 11:40 by juergen-aus-zuendorf

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki