plugin:dwedit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dwedit [2020-02-06 08:53] – Version upped Aleksandr | plugin:dwedit [2022-09-27 21:19] (current) – [dwedit Plugin] turnermm | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
- | email : turnermm02@shaw.ca | + | email : turnermm02@shaw.ca |
type : action | type : action | ||
- | lastupdate : 2020-01-11 | + | lastupdate : 2022-09-27 |
- | compatible : Frusterick Manners, | + | compatible : Frusterick Manners, Greebo, |
depends | depends | ||
conflicts | conflicts | ||
Line 20: | Line 20: | ||
screenshot_img : | screenshot_img : | ||
---- | ---- | ||
+ | |||
===== Installation ===== | ===== Installation ===== | ||
- | Simply install the plugin with the Extension Manager and an additional icon will appear in your page tools that will enable you to go directly to the Dokuwiki | + | Simply install the plugin with the Extension Manager and an additional icon will appear in your page tools that will enable you to go directly to the DokuWiki |
===== Usage ===== | ===== Usage ===== | ||
+ | ==== 1. Templates compatible with the default " | ||
+ | In templates compatible with the dokuwiki template, '' | ||
+ | ==== 2. Non-Compatible Templates ==== | ||
- | The icon is like the Edit button. | + | For users who are not using the " |
+ | <code php> | ||
+ | <? | ||
+ | | ||
+ | | ||
+ | ' | ||
+ | | ||
+ | $name = "DW Edit"; | ||
+ | | ||
+ | echo $button; | ||
+ | ?> | ||
+ | </ | ||
- | |||
- | For users who are not using the Dokuwiki template or compatible template, a link can be inserted from the template page using one of the following. Either a button: | ||
- | <? | ||
- | global $ID; | ||
- | $params = array(' | ||
- | ' | ||
- | if($REV) { $params[' | ||
- | $name = "DW Edit"; | ||
- | $button = html_btn($name , $ID, "", | ||
- | echo $button; | ||
- | ?> | ||
Or a link that is inserted directly into the HTML: | Or a link that is inserted directly into the HTML: | ||
< | < | ||
Line 46: | Line 50: | ||
class=" | class=" | ||
</ | </ | ||
- | |||
plugin/dwedit.1580975629.txt.gz · Last modified: 2020-02-06 08:53 by Aleksandr