Tracy Perry
Member
AMS Premium
CAS Premium
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<xen:include template="rating">
<xen:set var="$rating">{$item.rating}</xen:set>
<xen:set var="$hint">{xen:if '{$item.vote_count} == 1', {xen:phrase 1_vote}, {xen:phrase x_votes_plural, 'count={$item.vote_count}'}}</xen:set>
</xen:include>
<xen:include template="font_awesome_rating">
<xen:set var="$rating">{$item.rating}</xen:set>
<xen:set var="$hint">{xen:if '{$item.vote_count} == 1', {xen:phrase 1_vote}, {xen:phrase x_votes_plural, 'count={$item.vote_count}'}}</xen:set>
</xen:include>
Working perfectly!This is all sorted now and will be available in the upcoming maintenance release.
The only tricky part is with the Item Sidebar template (nflj_showcase_item_sidebar) as it can't use the Core XF rating template. What I've done for the Item Sidebar template (nflj_showcase_item_sidebar) is create to sub templates:
nflj_showcase_item_rating (This is the core default)
nflj_showcase_item_font_awesome_rating (This is the one to use for font awesome)
All the others use the core XF default ratings template.
Core Showcase templates that need to be edited to change the include to font_awesome_rating:
news_feed_item_showcase_item_rate
news_feed_item_showcase_review_insert
nflj_showcase_category_grid
nflj_showcase_category_list
nflj_showcase_find_new_items
nflj_showcase_index_grid
nflj_showcase_index_list
nflj_showcase_item_sidebar
nflj_showcase_item_watched_list_item
nflj_showcase_member_grid
nflj_showcase_member_list
nflj_showcase_member_sidebar
nflj_showcase_module_items
nflj_showcase_node_list_items
nflj_showcase_profile_tab_content
nflj_showcase_reviews
xenPorta template
EWRblock_ShowcaseImages