Comments (6)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 anthonyv commented Permalink

Hi Bob, <div>&nbsp;</div> This works great on each blog page, but my front page here: <div>&nbsp;</div> https://www.ibm.com/developerworks/mydeveloperworks/blogs/anthonyv/?lang=en <div>&nbsp;</div> Has too many twitter buttons! Appear to be one for every blog page. <br /> I think I did something wrong :-(

2 bobleah commented Permalink

@ Anthony - the problem was due to where you placed the anchor element. I went ahead and fixed it for you by moving the anchor element to just before your blog entry title element within the _day template. This keeps the anchor within the FOR loop, but associated with each blog entry from the blog home page view. Enjoy your new widget!

3 anthonyv commented Permalink

Thanks Bob! Looks much better. The moment I create a blog entry, I am now using the button to tweet it <br /> (which tests it at the same time). Nice!!

4 bobleah commented Permalink

@ Anthony - fantastic! Twitter is one of the best means to get visibility for blog entries.

5 marian0 commented Permalink

Hi Bob. This post has been of great help. I'm trying to figure out how to add the tweets count feature (http://dev.twitter.com/pages/tweet_button#build-your-own) with the "count" query string. Do you have any idea? Thanks.

6 bobleah commented Permalink

@ marian0 - Thanks for the feedback! I would really like to enhance the widget to support the count, just have not found the time. I will message you if I get around to this... and please do the same, if you code it up.... thanks!