getgrav / grav-plugin-star-ratings Goto Github PK
View Code? Open in Web Editor NEWGrav Star Ratings Plugin
Home Page: https://getgrav.org
License: MIT License
Grav Star Ratings Plugin
Home Page: https://getgrav.org
License: MIT License
When plugin makes an attempt to submit the data - fails. From the dev console I can see that it tries to open the following link:
POST http://localhost/blog/star-ratings.json/nonce:6061864bbd08e22dea2371636413e5c4
It comes back with a
500 error:
{"error":{"type":"RuntimeException","message":"Page Not Found","file":"/var/www/html/blog/system/src/Grav/Common/Grav.php","line":177}}
Hello,
I added the plugin into grav but no star-rating appear in page :/ I checked in developer console and getting the undefined error. I used this plugin before on a different theme and it works well.. I'am stuck at this point can't figure it out. I guess the problem on linking or maybe happen in multiple languages
please check on this page >
http://hadipisir.com/en/recipes/breakfast_brunch/dutch_baby
Hi,
I just tested this plugin. It is nice and I like how easy you can customize it. But right now I am missing a feature. There is no option to show the aggregating rating count, like 4,87 or so. The option to show the number of rating is there, so would it not make sense to show the average rating too?
I have not test it for that (front actually in dev') so : is the plugin can display on the blog page (article list) for each article the rating ?
If yes, is ti possible to say to the plugin "Show only rating number (ex : 5/10) and no star at all" ?
Thanks in advance !
I've a problem with the plugin. On all sub-pages it's working correctly, but on the homepage I get an error:
41
Twig_Error_Runtime
โฆ/user/themes/striped/templates/partials/blog_item.html.twig 112
It's the theme Striped and this block:
{% if page.header.continue_link is sameas(false) %}
{{ page.content }}
Twig_Error_Runtime
An exception has been thrown during the rendering of a template ("array_merge(): Argument #1 is not an array").
I didn't make changes to the settings in the star-ratings.yaml. Any idea?
I just installed the star ratings plug-in and noticed that it works fine unless I activate the option show count. When I do, the hover doesn't work correctly. You have to be one 1.5 stars to the left with your mouse, meaning that you can't give a rating lower than 1.5.
I made a screen recording to show what I mean.
Hi,
I am new to grav and I want to add a review option to my site. I found this plugin, but I am wondering, where to set the actual star rating? I guess the twig template with the id is used to display it, but where to I set or store the ratings?
Hi,
thank you very much for this plugin, works great.
i had to remove manually scripts from star-ratings.php
, because I didn't wanted to load jQuery v2 (i use v3), and also wanted to load jquery.star-rating-svg.min.js
and star-ratings.js
at bottom of site, so now i load them via my grav theme.
Is it possible to add 2 options? :
First one i managed, but second one didn't understand how to do add scripts at bottom via PHP (i have checked this doc - https://learn.getgrav.org/cookbook/general-recipes#add-javascript-to-the-footer - but it do not work)
Best Regards,
Maksim
Here's a list of things I want to add:
w00fz
That is awesome that your plugin shows now the stars in google! Great work
QUESTION:
Right now the output for "name" is /url-of-article
is it possible to change it to "Title of the Article"?
Hello,
has anyone managed to bring the stars to google. It seems as google does not see the stars on my side. Only the amount of ratings can be added.
Thanks
Susanne
The star rating is working well thanks, when I add the rich snippets to my site there are two separately generated snippets, is there a way to pull AggregateRating from star rating (which generated by star rating php) over into a twig file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.