ratings for other items

soaringeagle
@soaringeagle
11 years ago
3,304 posts
i added the ratings thing and seems to only alow ratings on music
but it would be awesome iundeed to alow ratings on photos vids forum and blog posts groups even profiles
especialy shop profiles

also i was curius it says type star or html what exctly does the htrml rating mean

but can it be updated to alow ratings of everytyhing or is there a template code snippit i can add to alow ratings of other items


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 07/09/16 09:21:02AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
witdrrawl part of the question as i see it says 'ratings for al datastore items" however in images i only see ratings on whole gfaleries not individual images in the full view


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
paul
@paul
11 years ago
4,335 posts
You could add the following code to the jrGallery item_detail.tpl with the ACP editor -

{jrCore_module_function function="jrRating_form" type="star" module="jrGallery" index="1" item_id=$item._item_id current=$item.gallery_rating_1_average_count|default:0 votes=$item.gallery_rating_1_count|default:0}

I guess we left it out because there was no obvious place for it, like in other item detail views, and because there is the opportunity to rate in the gallery view.


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
ok and exactly whats the "html" rating option


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
michael
@michael
11 years ago
7,793 posts
soaringeagle:
ok and exactly whats the "html" rating option
The html rating is a dropdown select option with 1 to 5 instead of the pictures of stars. Its main purpose is to allow the developer to be able to style that section themselves if they don't want pictures of stars.
updated by @michael: 12/29/14 09:23:54AM
paul
@paul
11 years ago
4,335 posts
Also, if using the html option, you can add in a 'value' parameter to override the default "-,1,2,3,4,5", ie -

value="-;Great;Not Bad;OK;Poor;Terrible"


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
ok had a feeling it was something along those lines that required your own custom coding but the stars are just fine


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM

Tags