This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
45 Posts
ca_V
3 years ago
Topic

Hi,

I follow this tutorial. In my case I do not need average rating so I just follow the tutorial step 1 and 2 but my content page do not display the stars when values are selected in my radio field.

I need specific plugin to do this?

Regards

Get a Book for SEBLOD
4229 Posts
Kadministrator
3 years ago
0
Level 1

That manual was missing a detail - in the PHP string plugin in str_repeat mode you need to insert the following:

<i class="fa fa-star"></i>
45 Posts
ca_V
3 years ago
0
Level 1

I forgot to mention I had add in the PHP string plugin 

<i class="fa fa-star"></i>

But the stars are not displayed even the str_repeat work :

<div id="cck32_value_confort_bateau" class="cck_value cck_value_radio">

<i class="fa fa-star"></i>

<i class="fa fa-star"></i>

<i class="fa fa-star"></i>

<i class="fa fa-star"></i>

</div>

4229 Posts
Kadministrator
2 years ago
0
Level 1

Then it is clear - problem is in your template that does not support fontawesome

http://fontawesome.io/icon/star-o/

You need to either add fontawesome to the page (see tutorial) or chage this classes to calsses that are supported by your teamplate, e.g. glyphicons spoorted by bootstrap

http://getbootstrap.com/components/#glyphicons

45 Posts
ca_V
2 years ago
0
Level 1

Yes it works I used glyphicons.

Thank you!

Get a VIP membership