Technical question for expandable summaries template
I am using Blogger platform. I have a customized template that creates expandable post summaries (). I added the widget to the blog followed the steps in Outbrain.com and the widget appears successfully as you can see at
How do I customize the widget so that the star rating only appears on full post, not the summary post at the main page of my blog like it does now. Would you be able to assist me?
How do I customize the widget so that the star rating only appears on full post, not the summary post at the main page of my blog like it does now. Would you be able to assist me?
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?HI Jacko,
I actually haven't had this request before. I'm going to have to check in with our engineers and see if we can accommodate this. I think it seems like it would be a nice implementation so we'll do our best to figure something out that works.
I'll be back with you next week at the latest.
Thanks,
Kate -
Thanks Kate. Hope to hear from you. -
Inappropriate?Hi Jacko,
I have looked a little in to it, and i didn't find a way to disable a widget all together using the blogger API.
However it is possible to add an instruction for the rater not to work.
So combining the blogger conditional if (such as the ones you have already used) i managed disable the rater on certain posts.
To do it take the following steps:
1. Go to blogger dashboard.
2. Go to 'Layout-> Edit HTML'
3. Check the 'Expend Widget Templates'
4. Find the outbrain widget- it should look something like that:
<b:widget title="Ratings by outbrain" type="HTML">
<b:includable> <data:content> </data:content></b:includable>
</b:widget>
5. ADD the following after '<b:includable>':
<b:if cond='data:blog.pageType != "item"'>
<script> var OB_stop_rater = true; </script>
</b:if>
6. Save the template!
That's it the rater will only be visible in the full post pages (item pages).
I hope that answers your question.
Let me know if there is anything else you need.
Daniel
The Outbrain Team.
1 person says
this answers the question
-
Inappropriate?Wow! This works perfectly! Million thanks to Daniel and Kate, really appreciate your dedicated service!
I’m thankful
Loading Profile...



EMPLOYEE
EMPLOYEE