05.05.08
Widgetising the blog - Twitter notes.
I’ve taken the decision to widgetise this blog.. notice any difference?? Nope me neither! That’s a GOOD thing…
The one element I did have problems with was the Twitter Tools widget. See, when I first added the twitter list into the side bar I made a couple of changes. Instead of having the text title I used the Tweet bubble graphic from the Twitter site. I though (and still think) that it looks better and also provide be a nice place to stick a link directly to me twitter feed.
However… when I used the Twitter Tools widget, this piece of prettiness disappeared and I was stuck back with the text title again.. not what I wanted at all.
I messed around with the widget code a little to try and force my leetle piece of fun in there but it just wouldn’t seem to work. Then I had a blast of inspiration - actually it was about 6 hours later after I’d been out for the day and put the problem to ‘park’ - don’t use the widget!
Not as mental as it sounds… the code I had in the theme sidebar file works.. therefor all I need to do is plonk that code into the new shiny PHP widget I installed and BINGO everything is pretty again!
For you edification here it the code I dropped into the PHP widget:-
<h2><a style="font-size: 10px; text-decoration: none"
href="http://twitter.com/silesti">
<img src="http://static.twitter.com/images/twitter_bubble_logo.gif"
border="0" /></a><?php _e(''); ?></h2>
<ul>
<?php aktt_sidebar_tweets(); ?>
</ul>
It really is THAT simple!
- J.

