目录

searchform Plugin

—- plugin —- description: Adds the search form to any page. Namespace configurable. author : Gerrit Uitslag (original author: Adolfo González Blázquez) email : klapinklapin@gmail.com type : syntax lastupdate : 2024-02-08 compatible : Greebo, Hogfather, Igor, Jack Jackrum, Kaos depends : conflicts : similar : tags : search, form downloadurl: https://github.com/Klap-in/dokuwiki-plugin-searchform/archive/master.zip sourcerepo : https://github.com/Klap-in/dokuwiki-plugin-searchform bugtracker : https://github.com/Klap-in/dokuwiki-plugin-searchform/issues


Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Settings

In the disableactions section, search must not be deactivated. Otherwise the search fields will not be displayed.

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> or -ns=<namespace:skipped>

{searchform ns=wiki}
{searchform ns=}
{searchform ns=other:namespace}
{searchform -ns=exclude:namespace}

These boxes searches respectively in wiki:, all namespaces or in the subnamespace other:namespace. The last one does not search in exclude:namespace.

Layout

This plugin reuses the layout of the quick search field at the top of the page. For the default 'dokuwiki' template this works fine. Maybe that other templates need some improvements.

Last commits

Development

This plugin is adopted by Klap-in in 2014.

Changes:

Previous release by Adolfo González Blázquez, last updated at 2008-10-10:

https://www.dokuwiki.org/plugin:searchform

2024年12月26日19:45:59