DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedback

FeedBack Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin Simple plugin to ask users to provide feedback on wiki pages.

Last updated on
2017-09-22
Provides
Action
Repository
Source

Tagged with feedback, mail

A CosmoCode Plugin

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

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:

<?php
/** @var action_plugin_feedback $feedback */
$feedback = plugin_load('action', 'feedback');
if($feedback) $feedback->tpl();
?>

Adjusting the Mail

The mail you get when feedback is sent, is defined in the 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

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.txt · Last modified: 2017-09-22 16:46 by grosse