Adding Categories to your MT Blog
First, tell MT you want to archive your entries according to category.
Weblog Config -> Archiving -> Check "Category"
Then, add a bit of code into the template.
Remember to back up the existing template (copy the text to another file) before you monkey with it too much.
Change Tempate
Templates -> Main Index
Look for the following line of code:
</MTEntryIfAllowPings>
It's about 1/4 of the way down. Hit CTRL-F to search for /MTEntryIfAllowPings
After it, insert the following:
<br>(Filed under <a name="<$MTEntryID pad="1"$>"></a>
<MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a>
</MTEntryCategories>)
I can't get the spacing to replicate itself accurately, but that region of code should read...
</MTEntryIfAllowPings>
<br>(Filed under <a name="<$MTEntryID pad="1"$>"></a>
<MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a>
</MTEntryCategories>)
</div>
</div>
</MTEntries>
0 TrackBacks
Listed below are links to blogs that reference this entry: Adding Categories to your MT Blog.
TrackBack URL for this entry:
Related Entries
Welcome to Your Seton Hill Weblog (MT 4.0)
If you've just received an ID and password for a Seton Hill University weblog, this document will help you get started.You're reading a weblog --...
You Recently Started Using Categories in Your MovableType Blog...
... and now you get errors when adding new entries? This is a very common problem. It's a shame the MT system doesn't tell you...
Configuring Your Blog to Alert You of New Comments
You can set up your SHU blog to e-mail you when someone posts a new comment. The message will include a link that you can...
Color Toy
I just stumbled across this site browsing Eris Design, and I thought that it might be helpful for anyone trying to fiddle with colors on...
Welcome to the Seton Hill Blogging Community
Those of you who are already SHU bloggers won't exactly need this info, but I wanted to post it online for easy future reference.



Leave a comment