solved HTML rating format type

alt=
@dim
10 years ago
167 posts
Hi,

How do I use my HTML rating format type?

Default Format in general settings (/rating/admin/global) is "HTML", but I still see the star rating format type on the site.
updated by @dim: 02/04/16 09:15:13PM
paul
@paul
10 years ago
4,335 posts
I think that in all default templates that use rating the call has the 'type' set to 'star'. The global setting in the module is what will show if 'type' isn't set. So, you'll need to edit the template(s) and either remove the 'type' parameter from the rating call, or change it to 'html' -

{jrCore_module_function function="jrRating_form" type="html" module="jrBlog" index="1" item_id=$item._item_id current=$item.blog_rating_1_average_count|default:0 votes=$item.blog_rating_1_count|default:0}

or

{jrCore_module_function function="jrRating_form" module="jrBlog" index="1" item_id=$item._item_id current=$item.blog_rating_1_average_count|default:0 votes=$item.blog_rating_1_count|default:0}

hth


--
Paul Asher - JR Developer and System Import Specialist
alt=
@dim
10 years ago
167 posts
@paul,
It works. Thank you!

Tags