跳至内容
白说
用户工具
登录
站点工具
搜索
工具
显示页面
Copy this page
修订记录
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
searchform_plugin
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 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 [[plugin:extension|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: <code> {searchform} </code> 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>'' <code> {searchform ns=wiki} {searchform ns=} {searchform ns=other:namespace} {searchform -ns=exclude:namespace} </code> 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 ===== {{rss>https://github.com/Klap-in/dokuwiki-plugin-searchform/commits/master.atom date 5}} ===== Development ===== This plugin is adopted by [[user>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 [[code@infinicode.org|Adolfo González Blázquez]], last updated at 2008-10-10: * available as first commit [[https://github.com/Klap-in/dokuwiki-plugin-searchform/commit/201f22cfb41b619208bfc671971367b6208189b2|201f22cfb4]] of this fork https://www.dokuwiki.org/plugin:searchform 2024年12月26日19:45:59
searchform_plugin.txt
· 最后更改: 2024/12/26 19:46 由
jackboo
页面工具
显示页面
修订记录
Copy this page
回到顶部