This is a test to see what will happen to the category icon if I add an entry without selecting a category …

Ah. What happened was this: The <MTCategory> tag was not there, so when it tried to load the .gif associated with that category (the uncategory) it looked for a file name simply .gif. Of course there was no file with that name, so it showed the dead image placeholder. Here’s how I fixed that: I added an ‘x’ to the template before the <MTCategory> tag so now it looks for x<MTCategory>.gif. I added an icon named x.gif to the images directory. (Actually, I just copied the icon for the web development category for now. I’ll get an uncategory icon later.) If there’s no category associated with the entry, it loads x.gif. Woot! Who, may I ask, is your daddy?

Post the first comment:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.