Jump to content

User Rating count help


ucjohn

Recommended Posts

Hello, I have this code

                <div class="key">USER RATING</div>
                <div class="value rating">
                                    <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
                      <meta itemprop='ratingValue' content='{$record->averageReviewRating()}'>
                      <meta itemprop='reviewCount' content='{$record->record_reviews}'>
                      {template="rating" group="global" location="front" app="core" params="'large', $record->averageReviewRating(), \IPS\Settings::i()->reviews_rating_out_of"}
                      <div class="ehch-server-review-count">({lang="num_reviews" pluralize="$record->record_reviews"})</div>
                  </span>

which works perfectly on my friends site..

EX.png.b0fab8f787339bf051f6d6ba29871ac4.png

but on my site looks like this..

SSX.png.24765e1ee5ca3c11abd3ea50545cbc37.png

If someone could help me that would be great as I'm not getting why it would work for him but not me..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...