DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:feedback

FeedBack Plugin

Compatible with DokuWiki

Frusterick Manners

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

Last updated on
2019-03-21
Provides
Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with feedback, mail

A CosmoCode Plugin

Installation

Search and install the plugin using the Extension Manager. 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: 2023-02-08 12:25 by saggi

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