Dokuwiki for science

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

select_plugin [2016/06/28 05:28] (現在)
ライン 1: ライン 1:
 +======Select plugin======
 +This DokuWiki plugin creates a pull-down menu that navigates users to either internal or external links. You can check the functionality by selecting the '​Language'​ selection box above.
 +
 +
 +|  [[https://​github.com/​iobataya/​dokuwiki-plugin-select|Repository at GitHUB]] ​ |  [[https://​github.com/​iobataya/​dokuwiki-plugin-select/​archive/​master.zip|Download]] ​ |
 +
 +
 +
 +===== Demo =====
 +<select Goto>
 +en:​start|Top
 +en:​pubmed_plugin|Pubmed plugin
 +en:​select_plugin|Select plugin
 +</​select>​
 +=====Syntax=====
 +At least two kinds of parameters for are necessary this plugin.
 +  -Name of the box which is selected on loading the page first.
 +  -Pairs of link and displaying name.
 +<float rightbox200>​
 +{{computer:​select_menu.png|}}
 +</​float>​
 +The code of '​Language'​ menu at the top of this page is like this.
 +<​code>​
 +<select Language>​
 +computer/​select_plugin|Japanese
 +computer:​en:​select_plugin|English
 +</​select>​
 +</​code>​
 +
 +  *Begin syntax with '​**select XXXX**'​.\\ '​**XXXX**'​ is the name of selection box.(ex. Language)
 +  *List each menu item as '​**LINK|NAME**'​. '​**LINK**'​ is dokuwiki internal link which should start with a root namespace.
 +  *You can also use external links.
 +  * **InterWiki** syntax '​(**WIKI**)>​(**TITLE**)|**NAME**'​ is supported in the latest version.\\ (2007-06-26b or later required)
 +  *Change the splitters of namespaces to ':'​(colon) according to your DokuWiki settings.
 +
 +<float leftbox300>​
 +**Example code**\\ \\ 
 +<​code>​
 +<select example>
 +computer:​select_plugin
 +computer:​select_plugin|Select plugin
 +
 +http://​www.google.com
 +http://​www.google.com|Google
 +
 +wp>​Ghost_in_shell
 +wp>​Ghost_in_shell|Ghost in the shell
 +</​select>​
 +</​code>​
 +</​float>​
 +<float leftbox300>​
 +**Example**\\ \\ 
 +<select example>
 +computer:​select_plugin
 +computer:​select_plugin|Select plugin
 +
 +http://​www.google.com
 +http://​www.google.com|Google
 +
 +wp>​Ghost_in_shell
 +wp>​Ghost_in_shell|Ghost in the shell
 +</​select>​
 +\\ \\ 
 +</​float>​
 +
 +<​clear/>​
 +
 +======Installation======
 +=====Using plugin manager=====
 +  -Use URL of {{computer:​source:​select.zip|select.zip}}
 +=====Manual installation=====
 +  -Download '​{{computer:​source:​select.zip|select.zip}}'​ and extract it.
 +  -Upload the '​select'​ directory into /​lib/​plugins/​ directory of your DokuWiki
 +
 +
 +======History======
 +  *2008.10.23
 +    *bug fixed on using InterWiki links
 +  *2008.10.11
 +    *Vulnerability for XSS was fixed.
 +    *[[http://​www.dokuwiki.org/​doku.php?​id=plugin:​odt|Open document format]] export supported.
 +  *2008.2.6 ​ Creation of **interwiki** links enabled. (2007-06-26b or later required)
 +  *2007.10.16 bug fix of an inappropriate linking depends of '​userewrite'​ parameter.
 +
 +
 +
 +{{tag>​DokuWiki Plugin}}