DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedback

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
plugin:feedback [2016-01-24 14:25] – version upped andiplugin:feedback [2023-02-08 12:25] (current) – old revision restored (2022-02-09 21:39) saggi
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Simple plugin to ask users to provide feedback on wiki pages.+description: Simple plugin to ask users to provide feedback on wiki pages
 author     : Andreas Gohr  author     : Andreas Gohr 
 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://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
 ===== 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.
  
-After installing you need to add the plugin to your template using the following code:+===== 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('action', 'feedback'); $feedback = plugin_load('action', 'feedback');
 if($feedback) $feedback->tpl(); if($feedback) $feedback->tpl();
 +?>
 </code> </code>
 +
 +===== Adjusting the Mail =====
 +
 +The mail you get when feedback is sent, is defined in the [[https://github.com/cosmocode/dokuwiki-plugin-feedback/blob/master/lang/en/mail.txt|mail.txt]] language file. You can create your own version of that file in ''conf/plugin_lang/feedback/<language>/mail.txt''.
 +
 +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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki