blogs.setonhill.edu > New Media Journalism > Adding Categories to your MT Blog
 

Adding Categories to your MT Blog

| | Comments (0) | TrackBacks (0)

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:

Leave a comment


Type the characters you see in the picture above.

About this Entry

This page contains a single entry by Admin published on September 25, 2003 4:32 PM.

And today's show is brought to you by... was the previous entry in this blog.

SHU Scores $400K Construction Grant is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.13

August 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
31            

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.