Main

Friday, September 1, 2006

The New MT Templates

If you're using the new MT templates and you've changed your pages to PHP instead of HTML extensions, you also need to change the links on the archives sidebar. They are looking for archives.html, not archives.php, which is what it should be.

Wednesday, August 30, 2006

Live Comment Previews and Author Comments

Live comment previewing shows you exactly what you type (as you type it), just below the comment textbox. It saves the need for opening another page to preview your comments. There's a tutorial on Learning Movable Type that gives you the step by step instructions on how to implement the code, and after a few template tweaks it's done.

I've recently upgraded to MT 3.32 and while implementing the live comment preview on my individual entry template, I noticed two posted lines after the comments. A closer look at the code showed me the second one was "experimental", and so I deleted the line. After rebuilding the individual indexes there were no problems, so I'm guessing this is a bug and will perhaps be corrected with the next upgrade.

I have been thinking about implementing a different style for my own comments and have read how to do this on a couple of blogs and decided today was the day. Getting the CSS right will be the hardest part. That will be different for everyone.

First I had to download the Compare plugin from Staggernation. This adds some conditional tags that enable you to compare one thing to another and do something based on the results. There's examples for other uses of this plugin on the download page. You just upload the file to the plugins directory. There's no configuration to worry about.

The next step is to add the compare code to the comments section in the individual entry template. You need to change the "xxx@yyy.com" to your author email. Be sure to rebuild the individual archives after you add the code.

Thursday, August 10, 2006

Chicklets

A chicklet, also known as a feed subscription button, is a specially coded button that contains the blog's RSS or Atom feed information. Clicking on a chicklet makes it easy for readers and visitors to subscribe to the blog's feed.

If you use Feedburner to improve your blog's feed, you can easily obtain chicklets to promote your blog's feed. If you don't use Feedburner, you can also use chicklet generators to obtain chicklets.

I've added some subscription buttons to the sidebar that I created using a Chicklet Creator. It took all of 5 minutes. You can choose your blog platform and they write the code so that it pulls the blog name, url and feed url automatically. You can choose from a list of 30 feed readers to include on your site.

The chicklet creater can also create special bookmark links. Once the code is generated, simply cut and paste the code into your weblog template.


Friday, August 4, 2006

Template Hacks

MT Hacks has brought out a new version of FormatList. This one is version 1.4 which has new icons and improved code. FormatList is a perl script that adds buttons to the entry templates to let you format bulleted and numbered lists.

Another great piece of code I added to the templates is Show/Hide Extended Entries. Normally when you click on the Read More link, you're redirected to the individual entry. This Javascript code shows you the rest of the entry on the same page. Show More » turns into « Hide More when the entry is expanded.

Try it...

read more »


September 2008

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Subscribe

Enter your Email


Preview | Powered by FeedBlitz
The Playground

DreamHost

GeoURL


Google AdSense

Creative Commons License
This weblog is licensed under a Creative Commons License.