Don't Back Down

Posted by Chad Everett on December 17, 2007

Convert RightFields Data to CustomFields »

If you use Movable Type, there's a good chance that you use plugins. And if you took the plugin survey, there's a good chance that you use a plugin to add extra fields to your installation: Roughly one-third of people polled used either CustomFields or RightFields to provide some additional breathing room in your installation.

To make matters more interesting, the combined plugins accounted for roughly a third of the votes for being rolled into the core package, and easily bested all other plugins when it came time to choose just one plugin to install. The problem all along has been that there are two ways to add extra fields to your site. The announcement that CustomFields is now going to be part of Movable Type just makes it more complex - especially if you're a user of RightFields. Until now.

Read "Convert RightFields Data to CustomFields" »

Posted by Chad Everett on December 14, 2007

Install Movable Type Under Apache Tomcat »

I haven't done a lot of work with Apache Tomcat previously, so when someone asked if they could install Movable Type, I had to do a bit of digging to see if it was possible. The answer is actually yes - but it's not the most intuitive installation. Most steps are fairly simple, but making the pieces work can be challenging.

Getting Perl up and running under Tomcat isn't difficult - just dropping the files into a directory seems to make them work. But to make Movable Type work, you need more than just Perl - you need MySQL. That's where the trouble comes in and things get a little dicey.

Read "Install Movable Type Under Apache Tomcat" »

Posted by Chad Everett on December 7, 2007

How to Export Tags from Movable Type 3.3x »

Over on Learning Movable Type, Jaclyn asked why she wasn't able to get tags imported to a new MT4 installation. While Movable Type 4 includes an entry's tags in the import specifications, and also exports those tags when saving the data, no prior versions have exported the tags, even though tags have been natively supported since MT 3.3x. Luckily, it's easy to get them.

First, make a backup of ImportExport.pm from your original Movable Type installation, which is the Perl module that handles the export. Do this because you want to make sure that you have a good copy, just in case something goes awry. Put this backup in a safe place, and work with the copy of the file, just in case. Ready? Good.

Read "How to Export Tags from Movable Type 3.3x" »

Posted by Chad Everett on November 30, 2007

Dynamic Movable Type or Static Wordpress? »

As is fairly common, there has been a good amount of talk about how blogs manage to scale recently, and what has been interesting to see is the discussion around just what it is that is required to keep things running.

Let's assume that you've decided not to go with a hosted solution, so first you'll need a good host, and you should consider some other issues about setting up your domain too. After that, you'll need to choose your blog software.

There are what seem to be thousands of choices, but ultimately it boils down to two: Movable Type and Wordpress. Tim, among others, likes to post pictures of Wordpress failing, but what isn't often mentioned is that Movable Type can fail in the wrong situations too. Let's see why.

Read "Dynamic Movable Type or Static Wordpress?" »

Posted by Chad Everett on November 9, 2007

What to Watch Out for When Upgrading Custom Fields »

If your Movable Type installation uses extra fields and you want to use MT4, then at this point, you really only have one option - Custom Fields. The plugin, currently in something of a perpetual beta because Arvind is in the US for school, allows you to easily add fields to just about any object in the system. It's actually quite nice.

But if you have already been using Custom Fields, you might find yourself in a bit of a pickle when it comes to upgrading your data and you've found that the data you have been trying to keep from losing is suddenly no longer there. Luckily, the upgrade path isn't a bad one, nor is it particularly painful. You just have to be very careful when you decide to upgrade your installation.

Read "What to Watch Out for When Upgrading Custom Fields" »

Posted by Chad Everett on November 2, 2007

Install Movable Type 4 in Yahoo! Small Business »

While it seems that the Yahoo! Small Business web hosting packages continue to offer Movable Type as an option, and there has been some talk about Yahoo! not supporting MT4, while Six Apart doesn't really seem to support MT4 at Yahoo!

Nice, huh? So what are you to do? Or more specifically, what am I to do when I have clients clamoring for MT4 and they are on the Small Business package? I have to figure out a way to make it work. Unfortunately, neither Six Apart nor Yahoo! makes it easy. The good news is that it's quite possible, once you know what you need. The first suggestion that I have - don't read that long letter that you'll get from Yahoo!, as it won't help tell you what you need to know.

Read "Install Movable Type 4 in Yahoo! Small Business" »

Posted by Chad Everett on October 26, 2007

Install Movable Type Under Windows (IIS) »

Though the vast majority of installations I work with use LAMP (Linux, Apache, MySQL, Perl) to run Movable Type, there are also a few where my client would like to place Windows in that equation. While it's a possibility to run Apache on Windows, Internet Information Server (IIS) has shipped with Windows Servers just about forever, and it's quite possible to get Movable Type up and running without Apache. I guess you might like to call this a WIMP (Windows, IIS, MySQL, Perl) installation, which fits in nicely with the old Windows, Icon, Mice, Pointers joke from years back. But I digress.

First, of course, you need Windows and IIS. Unfortunately, configuring those two is going quite beyond the scope of this article. Luckily, doing so is not particularly difficult. You'll also need, at a minimum, MySQL and Perl. If you want to use dynamic publishing, you'll also need PHP - but I'm not going to cover that here. Maybe next time. Ready? Let's go!

Read "Install Movable Type Under Windows (IIS)" »

Posted by Chad Everett on October 19, 2007

Upgrading to Movable Type 4 with MTCommentFields »

By now, there's a reasonable chance that if you've wanted to upgrade to the latest release of Movable Type, you've done so. But you may still be waiting. Perhaps you're hoping that your favorite plugin will be updated (there are still a few that haven't been released for MT4). Or maybe you've run into a problem that you can't seem to overcome.

One of the issues that I run into fairly regularly is for people who use the MTCommentFields tag. This tag, originally released in version 3.0D - way back in 2004, for those of you keeping track - was designed so that you wouldn't have to keep up with your comment form. Unfortunately, people like to keep up with their comment form, to move it around, change some wording, add features or just tinker. So it rapidly fell out of favor, and in MT4, it's gone completely.

If you're still using it and you want to upgrade, you'll see a message that reads The MTCommentFields tag is no longer available; please include the Comment Form template module instead. You will be able to rebuild your templates, but you won't be able to accept any new ones.

And naturally, if you're upgrading, you won't have this module to make that happen. To make matters worse, if you're a user of certain versions, even if you try and get rid of the tag, you might still have problems. What do you do? Luckily, it's an easy fix.

Read "Upgrading to Movable Type 4 with MTCommentFields" »

Posted by Chad Everett on October 12, 2007

Making Your Movable Type Menus Snappy Again »

When Six Apart released the latest version of Movable Type, the software underwent a massive rewrite. The interface changed considerably from what it had been, and by most accounts it is a good change. There are, however, a few things that just don't work quite right.

One of the things that is perhaps most frustrating is the editing box. There is little that can be done with this for now, especially if you want to maintain the WYSIWYG editor. Similarly, the syntax highlighting function of the template editor causes problems too, especially on lesser-used editors like Opera and Safari. So we have to focus elsewhere, perhaps on the menus.

Though the drop-down menus are certainly cool, they tend to get stuck open, and that is terribly annoying. There is almost nothing worse than trying to work, only to find yourself sitting there looking at a menu that appears to be looking back.

Read "Making Your Movable Type Menus Snappy Again" »

Posted by Chad Everett on October 5, 2007

How to Fix a Common MT4 Feed Formatting Error »

Over the last few years, the term beta has been somewhat misused. It used to be that when you used beta software, you expected to encounter problems. But when Google started throwing around the term for its offerings, people came to expect that beta software wasn't so bad. Still need an example? Despite Gmail arguably being the leader in web-based email systems, it's had that tag for more than two years.

There are plenty of examples, but hopefully you get the point I'm trying to make - that beta just doesn't mean what it used to. So there really shouldn't be a surprise that people install beta software. It used to be that only a certain crowd would install beta software, but these days, just about everyone will do so, thinking that they can expect to get what they have come to expect. That's not always the case, as sometimes you can get nasty surprises.

Read "How to Fix a Common MT4 Feed Formatting Error" »

Posted by Chad Everett on May 10, 2007

Using SpamLookup and Akismet to Control Spam »

A subject came up today about writing a regular expression to block a particular text string in comments received by a Movable Type blog. If you aren't familiar, the Spam Lookup plugin gives you great power over the processing of comments (and trackbacks, if you happen to receive them) by parsing the content of your comments in order to help try and determine if the comment - or trackback - is spam prior to posting it to your live site.

Unfortunately, the problem with doing this is that it often requires writing a regular expression in order to do so. Regular expressions by their very nature don't have to be complex - but they certainly can be daunting for a beginner. There are many sites available to you, but I've found simply searching and then trial and error can often yield the best results. Perhaps starting with a tutorial is a good idea.

Read "Using SpamLookup and Akismet to Control Spam" »

Posted by Chad Everett on March 17, 2006

List Your Subcategories in Order »

If you use subcategories in Movable Type, you know that you need to think of them in alphabetical order. Otherwise when you add them, they won't be in order. How do you get them to look right?

Read "List Your Subcategories in Order" »