plugin:feedback
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:feedback [2016-01-24 14:25] – version upped andi | plugin:feedback [2023-02-08 12:25] (current) – old revision restored (2022-02-09 21:39) saggi | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action | type : action | ||
- | lastupdate : 2015-05-22 | + | lastupdate : 2019-03-21 |
- | compatible : Hrun | + | compatible : Frusterick Manners |
depends | depends | ||
conflicts | conflicts | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | [[http:// | + | [[https:// |
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
- | After installing you need to add the plugin | + | ===== Integration ===== |
+ | |||
+ | ==== By Syntax ==== | ||
+ | |||
+ | You can add the Feedback Link to your sidebar using the following syntax: | ||
+ | |||
+ | {{FEEDBACK}} | ||
+ | |||
+ | ==== By changing the template ==== | ||
+ | |||
+ | You can integrate the link directly into the template using the following code: | ||
<code php> | <code php> | ||
<?php | <?php | ||
+ | /** @var action_plugin_feedback $feedback */ | ||
$feedback = plugin_load(' | $feedback = plugin_load(' | ||
if($feedback) $feedback-> | if($feedback) $feedback-> | ||
+ | ?> | ||
</ | </ | ||
+ | |||
+ | ===== Adjusting the Mail ===== | ||
+ | |||
+ | The mail you get when feedback is sent, is defined in the [[https:// | ||
+ | |||
+ | The followoing placeholders can be used in that file: | ||
+ | |||
+ | * PAGE - the page on which the feedback was given | ||
+ | * FEEDBACK - the feedback provided | ||
+ | * URL - the URL of the page where the feedback was given | ||
+ | * DATE - current date | ||
+ | * BROWSER - the browser used by the user giving feedback | ||
+ | * IPADDRESS - ip address of the user | ||
+ | * HOSTNAME - host name for above IP address | ||
+ | * TITLE - title of the wiki | ||
+ | * DOKUWIKIURL - URL of the wiki | ||
+ | * USER - user name of the user giving feedback | ||
+ | * NAME - name of the user | ||
+ | * MAIL - email address of the user | ||
+ | |||
===== Admin Backend ===== | ===== Admin Backend ===== | ||
The admin backend allows you to configure e-mail addresses for namespaces that shall allow feedback. User feedback is sent to that address. | The admin backend allows you to configure e-mail addresses for namespaces that shall allow feedback. User feedback is sent to that address. |
plugin/feedback.1453641922.txt.gz · Last modified: 2016-01-24 14:25 by andi