DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:selectsearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revision
plugin:selectsearch [2012-11-01 15:14]
haegar [Examples/Usage]
plugin:selectsearch [2019-01-13 17:12]
LarsDW223 Added bugtracker
Line 1: Line 1:
 ====== selectsearch Plugin ====== ====== selectsearch Plugin ======
  
-[[http://www.openschulportfolio.de|{{ http://www.openschulportfolio.de/_media/wiki/logo/logo.png}}]] 
  
 ---- plugin ---- ---- plugin ----
-description: +description: Provide a dropdown with namespaces to restrict the search in
 author     : Frank Schiebel  author     : Frank Schiebel 
 email      : frank@linuxmuster.net  email      : frank@linuxmuster.net 
Line 16: Line 15:
  
 downloadurl: https://github.com/ironiemix/dokuwiki-selectsearch/zipball/master downloadurl: https://github.com/ironiemix/dokuwiki-selectsearch/zipball/master
-bugtracker : +bugtracker : https://github.com/igittigitt/dokuwiki-plugin-selectsearch/issues
 sourcerepo : https://github.com/ironiemix/dokuwiki-selectsearch sourcerepo : https://github.com/ironiemix/dokuwiki-selectsearch
 donationurl: http://www.openschulportfolio.de/about donationurl: http://www.openschulportfolio.de/about
 ---- ----
 +[[http://www.openschulportfolio.de|{{http://www.openschulportfolio.de/_media/wiki/logo/logo.png}}]]
  
  
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
Line 30: Line 30:
 The selectsearch plugin is a "non-fancy" copy of the fancysearch plugin. It is possible to define a list of namespaces in the plugin config (via the config manager) from which the user can choose when doing a search in the wiki. The results will be restricted to the chosen namespace. The selectsearch plugin is a "non-fancy" copy of the fancysearch plugin. It is possible to define a list of namespaces in the plugin config (via the config manager) from which the user can choose when doing a search in the wiki. The results will be restricted to the chosen namespace.
  
 +
 +{{http://www.openschulportfolio.de/_media/dokumentation/searchbox.png|}}
  
 To use the Plugin you have to include the searchbox in your template: To use the Plugin you have to include the searchbox in your template:
Line 40: Line 42:
     }     }
  
-===== Syntax =====+===== Configuration and Settings =====
  
-//[Complete syntax]//+In the configuration manager you can define a list of namespaces to be selected by the user when doing a search. 
  
-Basic syntax: +The syntax for the option is ''the:name:space>Text to display in dropdown''
-<code>{{actionlink>action|title}}</code> +
-  * **action** can be one of this: +
-    * //edit//    --- edit/create/show +
-    * //history// --- old revisions+
  
-===== Configuration and Settings =====+The options are comma separated. For having an option to search the whole wiki, you have to add an empty namespace like this: ''>whole wiki</tt''
  
-//[also CSS style tips]//+The default value gives a good impression how this works:
  
-===== Development ===== +  $conf['searchnamespaces'">All pages,portfolio>Portfolio,hilfe>Help";
- +
-//[downloadable blocksdevelopment comments]//+
  
 === Change Log === === Change Log ===
  
-//[preferable GitHub RSS feed or similar]// 
  
-  * **2009-01-01**+  * **2012-11-01**
     * Initial release     * Initial release
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
 +not compatible 2009-12-25c "Lemming"
  
-//[this section might not be needed in case of external bug manager, or use RSS feed]// 
- 
-=== ToDo/Wish List === 
- 
-//[developers roadmap]// 
  
 ===== FAQ ===== ===== FAQ =====
Line 79: Line 70:
 ===== Discussion ===== ===== Discussion =====
  
-//Could be placed on an external page (e.gplugin:pluginname:discussion) to have distinction between user comments and author docs//+  * The Quick result pop-up no longer appears when this plugin is activated. Is that intentional?  
 +  * Within what template file(s) would you add the searchbox syntax? 
 + 
 +==== Vector template ==== 
 + 
 +Doesn't appear in the correct place in the vector template  
 + 
 +==== language for search button ==== 
 + 
 +The parameter to change the language of the search-button is missingAs workaround it is possible to change line 55 in action.php to \\ 
 +''echo '<input class="button" type="submit" title="Search" value="Suche">';''\\ 
 +(example for the german language) 
 + 
 +The better way would be to introduce new parameter for the settings.php 
 + 
 + 
 +==== set of namespaces ====
  
 +It would be great if the plugin would accept a set of namespaces as searchnamespace. Alternatively it would be helpful to exclude a certain namespace from the search.
  
 + --- [[user>Juergen_aus_Zuendorf|Juergen_aus_Zuendorf]] //2015-03-11 15:30//
  
 +We are missing this too.
plugin/selectsearch.txt · Last modified: 2020-02-23 15:09 by Aleksandr