MTShop/code/web/modules/contrib/votingapi_widgets
Gdilove c391965547 update config 2023-11-17 01:10:57 +08:00
..
css update config 2023-11-17 01:10:57 +08:00
js update config 2023-11-17 01:10:57 +08:00
src update config 2023-11-17 01:10:57 +08:00
templates update config 2023-11-17 01:10:57 +08:00
LICENSE.txt update config 2023-11-17 01:10:57 +08:00
README.md update config 2023-11-17 01:10:57 +08:00
composer.json update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.info.yml update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.install update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.libraries.yml update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.module update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.permissions.yml update config 2023-11-17 01:10:57 +08:00
votingapi_widgets.services.yml update config 2023-11-17 01:10:57 +08:00

README.md

Voting API Widgets

Logo

A flexible field based Voting System based on Votingapi.

You need Drupal Version >= 8.2.3. (Multiple form instances on a page)

Installation

  1. Download this module via composer.
  2. Download the required jQuery Bar Rating Plugin and place it inside of the libraries folder (/libraries). For composer based projects please install the library as described on the Drupal 8 Documentation. Example: Insert the following repository into the "repositories" section of the Drupal composer.json file (/composer.json):
     {
       "type": "package",
       "package": {
         "name": "antennaio/jquery-bar-rating",
         "version": "1.2.2",
         "type": "drupal-library",
         "dist": {
           "type": "zip",
           "url": "https://github.com/antennaio/jquery-bar-rating/archive/v1.2.2.zip"
         }
       }
     }
    
    then execute "composer require antennaio/jquery-bar-rating".
  3. Install VotingAPI Widget the usual way.

Known issues

Upon installation it is important to save the VotingAPI config at least once, due to a bug in the default shipped config of VotingAPI alpha3. That way all global configs are available.

Sponsoring

Module on drupal.org

Sponsored by b-connect

b-connect

Hubert Burda Media sponsoring development