So, being desperate to add the Mixx button as I was promoting my article Have you tried Mixx?, I tried to modify the code and finally got it working! Here's the following code to add a Mixx button to your Blogger template:
<a expr:href='"http://www.mixx.com/submit?page_url=" + data:post.url' target='_blank'><img alt='Add to Mixx!' border='0' src='http://www.mixx.com/images/buttons/mixx-button2.png'/></a>
If you want your button to appear after your post footer like mine at the end of this post, you should paste the above code after the following lines in your template (you have to check Expand Widget Templates to see the code):
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>You can test out whether the button works by pressing the my Mixx button at the end of this post.
<div class='post-footer'>
<div style='float:left'>
<!-- the above line in red is not found in template, it is beginning of formatting for Mixx button so that it appears to the left of your post footer -->
Talking to myself: What an ingenious way to get my article voted (laugh sinisterly!)
References:
Mixx Buttons & Badges
4 comments:
I had the same problem with the Mixx button. Thanks for the tip!
You are most welcome :)
Thanks! I was trying to get that to work, too.
Glad to know that many people are enjoying using Mixx as well. Would appreciate if you could share the URL of my posts on your blogs too :)
Post a Comment