Jump to content

User Rating count help

Featured Replies

Posted

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..

Looks like a theme issue? The markup is different and it seems the stars are missing.
In developer tools (Chrome browser) do you see errors in the console?

  • Author
13 hours ago, ChrisVanMeer said:

Looks like a theme issue? The markup is different and it seems the stars are missing.
In developer tools (Chrome browser) do you see errors in the console?

No errors at all on Chrome or Firefox

  • Author

Fixed it was all due to a font size issue.. whoopsy :unsure:

Archived

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

Recently Browsing 0

  • No registered users viewing this page.