Feedback Company
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
The FeedbackCompany
This is module is created to implement a simple Feedback Company setup.
There are two usage scenario's.
- Add a block to a node page and let the block show all feedback or filtered feedback (if available).
- Call
_feedback_company_load_feedback()to load the HTML yourself and use it anywhere you like.
Do you want to use the returned data yourself?
Feel free and look at the available hooks inside feedback_company.api.php.
More information can be found at the website of The Feedback Company .
https://www.feedbackcompany.nl/
Installation Notes
- You need to have a a Feedback Company client id & client secret.
- The Guzzlehttp Client PHP library must exist in your Drupal installation.
Guzzle Library Installation
If you are using the Libraries module:
The library has dependencies managed by Composer. If you would prefer
not to use Composer, you can download the pre-built library package:
https://github.com/guzzle/guzzle/archive/4.2.4.tar.gz
To use Composer:
Download Composer if you don't already have it installed:
https://getcomposer.org/download/
Download version 4.2.4.
https://github.com/guzzle/guzzle/releases
Extract the library archive to libraries/guzzle
Ensure the directory structure looks like this:
- libraries/
- guzzle/
- src/
- composer.json
- README.md
- guzzle/
In the Guzzlehttp library directory, run:composer install
If you are using Composer Manager:
- Download Composer if you don't already have it installed:
https://getcomposer.org/download/ - Download and install the Composer Manager module:
https://www.drupal.org/project/composer_manager - Install Drush on your system if you haven't already:
http://www.drush.org/en/master/ - Run Composer manager with Drush within your Drupal installation:
drush composer-manager update --no-dev
Todo
- Require Guzzle 6^.
- Add rating to HTML (https://schema.org/Review). This needs restructuring of HTML.
