These forums are not for official support. If you are looking for official support please click here.

Welcome guest, please Login or Register

You are here: Home :: Forum Home :: Modules :: Channel Ratings :: Thread

   

like button

Rank
Rank

Total Posts: 31

Joined 2010-12-06

PM

 

HI,

I am using code from the docs, but my like button is not showing up.

isn’t this the correct code for a blog template that lists entries?

{exp:channel_ratings:likes entry_id="{entry_id}"}

        {rating
:liked} likes


            {exp
:channel_ratings:new_like entry_id="{entry_id}"}

                I 
<a href="{rating:like_url}">like</athis

            {
/exp:channel_ratings:new_like}

     {
/exp:channel_ratings:likes} 

I do see the ‘0 likes’ but no button or link to actually like the entry
best
florian

Rank
Rank
Rank
Rank

Total Posts: 2811

Joined 2010-12-24

PM

 

Do you see the text ” I like this” ?

What does get rendered if not?

Brad

Rank
Rank

Total Posts: 31

Joined 2010-12-06

PM

 

the only thing rendered is “0 likes” .. nothing else

Rank
Rank
Rank
Rank

Total Posts: 1237

Joined 2010-12-24

PM

 

What does the template debug say?
Also remember for guests access you need to add allow_guests=“yes”

Rank
Rank

Total Posts: 31

Joined 2010-12-06

PM

 

I turned on debug, but nothing showed up. Not sure why. I did say this is an MSM site, right?
I need to get ee support to figure out why debug woulndt show anything in front end

best
Florian