Tue 13th Sep 2005
Posted late evening, filed under
Blogsome ,
Languages ,
Smarty Templates.
Smarty
This may have some use: {insert}. I noticed it when backing up my templates tonight…
•
Also, I’d like to make buttons that act like the quicktags in the Blogsome backend for commenting: so it inserts the relevant tags in.
Will require some JavaScript, I assume…
Tue 13th Sep 2005
Posted in the evening, filed under
iTunes.
I can’t use iTunesMusicStore (I live in Australia), and I don’t listen to podcasts (dialup connection, besides I’d much rather listen to something from my Classical Music collection on the train anyway, chills me out nicely…), so I don’t need either of these in the Source list under iTunes 5.
The setting for disabling the iTMS has moved to Parental Controls, and there wasn’t a Disable Podcasts one before, but there is now.
I used to use the arrows that appeared for searching my library, but the functionality of this seems to have vanished under iTunes 5, so I’ll leave it off for now.
Tue 13th Sep 2005
Posted in the evening, filed under
Blogsome ,
Smarty Templates.
I can’t recall if this came up on the Blogsome forums or not, but some people are keen to seperate Trackbacks and Comments in the comment list. Sometimes, and especially for people new to blogs, Trackbacks don’t seem to make that much sense, so I thought I would try doing this on Blogsome.
Googling [seperate trackbacks comments wordpress] turned up several sites, the first one I visited was from way back in July 2004, and was way to complicated to bother with.
The second one was better, and gave me the idea of how to do it. Then I remembered that there is a Template Tag called comment_type.
(more…)
Tue 13th Sep 2005
Posted in the evening, filed under
Blogging.
Using some classy CSS, you can make text flow nicely around images, rather than having to set stuff up using tables, and demonstrated in this post.
Basically, you just put the following into your CSS file:
.left {
float:left;
}
.right {
float:right;
}
And then wrap the image in <div class='left'> ... </div> tags (or class='right' to make it sit on the right of the text).
You can use margin:15 0 15 25; for example to put a margin of 15 on the top, 0 on the right, 15 on the bottom and 25 on the left, so that the text does not come right up against the image.
I also change some text properties in my CSS, so I can include a caption inside the <div class='left/right'> ... </div> tags and it will be italic, centred and so on. I’ll leave these as an exercise to the reader.
•
If you just use the code above, you can also use this whenever you have post-links, or page-links, so that one always appears on the left, and the other on the right. I have now removed every table from the site, except the one on the page this article links to.