Page 1 of 1

CGFeedback: How to create more then one star ratings?

Posted: Mon Nov 05, 2012 10:48 am
by Quintijn
- CMSMS 1.11.2
- CGFeedback 1.5.10
- (..)

How do I create a (comments and) ratings template which allow me to add more then one 'star rating'?

For example:

Price: XX000
Service: XXX00
Delivery: X0000

And for the rating template:

(All ratings)

Price: XXXX0
Service: XXX00
Delivery: XXXXX

Overall: XXXX0

Re: CGFeedback: How to create more then one star ratings?

Posted: Mon Jan 28, 2013 6:42 pm
by Dr.CSS
You may need to explain what you are trying to do in more detail as I can't really tell what you are trying to add the ratings to...

Re: CGFeedback: How to create more then one star ratings?

Posted: Wed Feb 06, 2013 11:01 am
by Quintijn
When using a combination of CompanyDirectory and CGFeedback I like to add more then one star rating to a company.
For example: Visitors of a hotel directory can give 3 different star ratings for service, price and location.

Re: CGFeedback: How to create more then one star ratings?

Posted: Wed Feb 06, 2013 6:44 pm
by Dr.CSS
That may need 3 cgfeedback tags to collect the ratings as most times it uses key2='$entry->id' so for each tag you would assign a unique ID to the key I guess, never used it more than once per article/post/page...

Re: CGFeedback: How to create more then one star ratings?

Posted: Wed Feb 06, 2013 7:28 pm
by Quintijn
Nice, but it sounds like a partial solution. It works I guess, but how to generate an average rating of all 3 together?

Re: CGFeedback: How to create more then one star ratings?

Posted: Wed Feb 06, 2013 7:50 pm
by Dr.CSS
All 3 of them together, don't think it is possible...