plugin:feedback
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:feedback [2017-08-18 09:06] – 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 : 2017-06-07 | + | lastupdate : 2019-03-21 |
compatible : Frusterick Manners | compatible : Frusterick Manners | ||
depends | depends | ||
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-> | ||
Line 36: | Line 47: | ||
</ | </ | ||
- | ===== Text Replacements | + | ===== 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 | * PAGE - the page on which the feedback was given | ||
* FEEDBACK - the feedback provided | * FEEDBACK - the feedback provided | ||
+ | * URL - the URL of the page where the feedback was given | ||
* DATE - current date | * DATE - current date | ||
* BROWSER - the browser used by the user giving feedback | * BROWSER - the browser used by the user giving feedback |
plugin/feedback.1503040019.txt.gz · Last modified: 2017-08-18 09:06 by andi