I added a TweetMeme to my Movable Type blog

| 2 Comments | No TrackBacks

Wow, in just 10 minutes I added a TweetMeme button to the entries and the home page of this Movable Type blog.

Why am I stressing the "Movable Type" part of that sentence? Because if you happen to blog using Wordpress then there's retweet plugins coming out of your wazzoo. For those of us using MT there doesn't seem to be a single one. So you have to add the code to your template yourself - which can be scary to some.

It's really dead easy. Especially in a template like this one, where the compact button fits neatly along side the entry title.

The easiest to do is the individual entry archive:

  1. Navigate to the "Blog Template" page and select the "Entry" link.
  2. Find the code "<$mt:EntryTitle$>". This will probably be in a line that starts and ends <h1 blah blah blah> ... <h1>
  3. Immediately before the "<h1" insert the following code:
    <p style="float:right; margin: 0 0 0 5px; padding:0;">
    <script type="text/javascript">
    tweetmeme_style = 'compact';
    tweetmeme_source = 'your username';
    </script>
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
    </p>

If this has been any help RT it (using the button) and leave a comment. If you want details on how to add it to the front page let me know.

Reblog this post [with Zemanta]

No TrackBacks

TrackBack URL: http://www.theaardvark.co.uk/mt/mt-tb.cgi/29

2 Comments

Thanks for this tweetmeme tip.

The icon isn't lining up nicely on the right. It is sitting a bit too high.

http://www.charlesandhudson.com/archives/2009/10/kitchen_design_and_planning_for_the_handicapped.htm

I didn't change any of the margins. Any suggestions? Thanks.

Are there any difference between Movable type blogs and Joomla ?

Leave a comment

Twitter Updates

    follow me on Twitter

    About this Entry

    This page contains a single entry by theaardvark published on October 25, 2009 7:48 PM.

    I look like Bruce Willis. :) was the previous entry in this blog.

    Razor Grrrr! is the next entry in this blog.

    Find recent content on the main index or look in the archives to find all content.