[RSS Feed/News] Rating macro on custom page

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom