Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r7-labs/R7.FeedbackButton
Feedback skinobject extension for DNN Platform
https://github.com/r7-labs/R7.FeedbackButton
Last synced: about 1 month ago
JSON representation
Feedback skinobject extension for DNN Platform
- Host: GitHub
- URL: https://github.com/r7-labs/R7.FeedbackButton
- Owner: r7-labs
- Archived: true
- Created: 2014-11-13T09:59:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-04T07:05:43.000Z (about 10 years ago)
- Last Synced: 2024-07-29T03:31:58.889Z (5 months ago)
- Language: C#
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-dnn - R7.FeedbackButton - (by: @roman-yagodin) (Awesome DNN (DotNetNuke) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) / Skin Object)
README
# About R7.FeedbackButton
*R7.FeedbackButton* is a skinobject extension for DNN Platform to use along with the popular
[DNN Feedback](http://dnnfeedback.codeplex.com) module.It allows:
1. Easily navigate to feedback page from any website page.
2. Pass `errortabid` parameter in the querystring to indicate feedback source page.
3. Pass `errorcontext` parameter in the querystring with user-selected text to indicate feedback problem
(using *rangy* JavaScript library).4. Customize button look, link target, text & tooltip localization.
Note that *DNN Feedback* module stores entire URL with all querystring params in the UserAgent field,
which is accessible from the *Feedback Comments* module by adding [Feedback:UserAgent] tag to the item template.## Install
Install [rangy](https://github.com/timdown/rangy/releases) scripts to `~/Resources/Shared/scripts/rangy/rangy-core.js`
Install latest *R7.FeedbackButton* release from *Host > Extensions*.
Register control in the skin:
```
<%@ Register TagPrefix="r7" TagName="FeedbackButton" src="~/DesktopModules/R7.FeedbackButton/R7.FeedbackButton/R7.FeedbackButton.ascx" %>
```Add control entry to the skin file (default use):
```
```
Note that `FeedbackTabId` value is required and must be set to the TabId of the page where DNN Feedback module is.
## Customizing
Custom CSS class, link target:
```
```
## Localization
You could change feedback button label and tooltip by editing `App_LocalResources/R7.FeedbackButton.ascx.resx` files
or add translation to other language by adding separate `resx` file for it.Use the `ResourceKey` property to specify other name for resource keys.
```
```
In this example, control will try to load `MyFeedbackButton.Text` resource string for button label,
and `MyFeedbackButton.Tooltip` resource string for tooltip text.