User Page Ratings
The User Page Ratings tool displays the logged in user's current rating out of 5 stars, and allows the user to change his/her rating.
<div class="viafoura">
<div class="vf-rating-widget vf-widget" data-widget="rating-user"></div>
</div>
Rendered Example
Installation Parameters: User Page Rating
Name | Type | Description | Default | Notes |
---|---|---|---|---|
data-path | string | The path of the page for which to fetch the rating. | Current Page | e.g. /path/to/article.html |
data-url | string | The fully-qualified url of the page for which to fetch the rating. | e.g. https://foo.com/path/to/article.html |
Note
The stars are dimmed if there is no user logged in.
Note
Authors cannot rate their own articles.
Updated over 5 years ago