Skip to content

A simple Yii widget for collecting user feedback.

Notifications You must be signed in to change notification settings

nywuctuk/YiiFeedbackWidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YiiFeedbackWidget

A simple Yii widget for collecting user feedback.

Install

Download or clone the files to your extensions directory:

[app-root]/protected/extensions/feedback/

Edit your main config file:

[app-root]/protected/config/main.php

And add the following:

'import'=>array(
	'ext.feedback.FeedbackWidget'
),

Now edit your main layout file:

[app-root]/protected/views/layout/main.php

And add the following straight after the opening body tag:

<body>

<?php $this->widget('FeedbackWidget', array(
	'topicOptions' => array(
		'Bug', 'Improvement', 'Comment'
	),
	'toEmail' => '[email protected]',
	'position' => 'left'
)); ?>

Config options

'topicOptions' - array of topic dropdown options

'toEmail' - email address to send feedback to

'position' - position to display widget, either 'left' or 'right'

About

A simple Yii widget for collecting user feedback.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published