XenForo Rating macro on custom page

A

Andy.N

Guest
I'm trying to show a hard code star rating on a page using this code
Code:

Code:
<xf:macro template="rating_macros" name="stars_text"
                    arg-rating="{$resource.rating_avg}"
                    arg-count="{$resource.rating_count}"
                    arg-rowClass="ratingStarsRow--justified"
                     />    

    <span class="ratingStars " title="4.91 star(s)">
        <span class="ratingStars-star ratingStars-star--full"></span>
        <span class="ratingStars-star...

Read more

Continue reading...