/CakePHP-FeedbackIt

Feedback or bugreport (with screenshot!) tab option in your CakePHP application. Data can be posted directly to Mantis, E-mail, Github issues, filesystem, etc.

Primary LanguageJavaScriptMIT LicenseMIT

Website: http://stefanvangastel.nl/feedbackitdemo/

Table of Contents
## Intro

This CakePHP plugin provides a static feedback tab on the side of the screen that enables website visitor to submit feedback or bugreports. Features pure client-side screenshot function including user-placed highlight / accent.

Currently saves the following on form submit:

  • Name of sender (optional, can work with AuthComponent)
  • E-mail of sender (optional)
  • Subject
  • Message
  • Current URL
  • Screenshot of body DOM element
  • Browser and browser version
  • User OS flavor
**Save options include (configurable):** ## Requirements

This plugin is CakePHP Security component compatible.

Required:

Optional:

Includes:

## Installation and Setup
  1. Check out a copy of the FeedbackIt CakePHP plugin from the repository using Git :

    git clone http://github.com/stefanvangastel/CakePHP-FeedbackIt.git

    or download the archive from Github:

    https://github.com/stefanvangastel/CakePHP-FeedbackIt/archive/master.zip

    You must place the FeedbackIt CakePHP plugin within your CakePHP 2.x app/Plugin directory.

    or load it with composer:

    "stefanvangastel/feedback-it": "dev-master"

  2. Load the plugin in app/Config/bootstrap.php:

    CakePlugin::load('FeedbackIt');

  3. Copy the default feedbackit-config file:

    Copy ../app/Plugin/FeedbackIt/Config/feedbackit-config.php.default to ../app/Plugin/FeedbackIt/Config/feedbackit-config.php

    And adjust it to your needs.

  4. Use the feedbackbar element in a view or layout to place the feedback tab on that (or those) pages. It doesn't matter where you place the following line since it uses absolute DOM element positioning.

    <?php echo $this->element('FeedbackIt.feedbackbar');?>

## Usage

To testdrive this puppy; http://stefanvangastel.nl/feedbackitdemo/

## Examples

Example of form Example of result

End