An evening in at last: as much as I would have liked to see Gavin Degraw last night at Antone’s, I instead enjoyed a much needed night in at home. I decided to tackle the redesign of my blog, a task I’ve been meaning to do in honor of its 1 year anniversary (and the fact that it was starting to look as if someone had “barfed all over the page”).
One of the more useful tricks I learned was utilizing MovableType categories to create automatic links on the left side of this page.
Previously I had a problem whenever I posted photos: it would take me about a month to actually create a permanent link on the main page. So inevitably, the link to the photos would get lost in the archives in the original blog entry the photo link was posted to.
So I created a category “photos” under which I added any entry that links to photos. Then I put in this fairly simple MovableType code into the main index:
<div class=”sidetitle”> photos:</div>
<div class=”side”>
<MTEntries category=”photos”>
<a href=”<$MTEntryPermalink$>”><$MTEntryTitle$></a><br>
</MTEntries>
</div>
Now whenever I add an entry that contains photos, I can just make that entry’s category “photos” and the above code will do the rest of the work. (See example on the right.)
So, this trick will be useful.
Related posts:

0 Responses to “MT Categories: A New Hope”