Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Widget for total values #4

Closed
neckarpixel opened this issue Jun 3, 2022 · 4 comments
Closed

FR: Widget for total values #4

neckarpixel opened this issue Jun 3, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@neckarpixel
Copy link

Thanks for that extension. Works fine!

One feature request: a widget with a summary of all entries (e.g. 4,5 stars in total of XXX entries).
Atm I use an adjusted mod_recommendationlist template.

@zoglo
Copy link
Member

zoglo commented Jun 3, 2022

Hello @neckarpixel ,

are you referring to getting the actual average rating from google maps (with rating count) or do you mean the average ratings of an archive out of the base bundle: https://github.com/oveleon/contao-recommendation-bundle?

@zoglo zoglo added the enhancement New feature or request label Jun 3, 2022
@neckarpixel
Copy link
Author

are you referring to getting the actual average rating from google maps (with rating count) or do you mean the average ratings of an archive out of the base bundle: https://github.com/oveleon/contao-recommendation-bundle?

To be honest, firstly I only thought about the Google Ratings but when you think about it, in both cases it can be really useful to have a summary.

@zoglo
Copy link
Member

zoglo commented Jun 4, 2022

Importing user_ratings_total and the rating itself is possible via the maps API. However, as we only import the last 5 ratings, you won't be able to get older ratings anymore. IMHO, the total rating (from google) should only be visible in google maps.

I'd rather suggest to have something that will get the total of published ratings out of a recommendation archive to have more control over it. Could also be included into the Recommendation-List module.
WDYT?

@zoglo zoglo self-assigned this Jun 4, 2022
@neckarpixel
Copy link
Author

As I read in the docs, that only Google Business Account can receive all comments.

But I really love the idea to have a total count of alle ratings.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants