Table of Contents
FeedBack Plugin
Compatible with DokuWiki
Frusterick Manners
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
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.