blogs.setonhill.edu > New Media Journalism > You Recently Started Using Categories in Your MovableType Blog...
 

You Recently Started Using Categories in Your MovableType Blog...

| | Comments (0) | TrackBacks (0)

... 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 what you should have done first in order to avoid this problem, and the error message you receive doesn't help you solve the problem at all. But it's easily fixed. This version is for MT 3.2.

Go to Settings -> Publishing, then scroll down to "Archive Mapping," and make sure the box next to "Category" is checked. Save your changes.

You can rebuild your site now, and the error should go away. If you'd like to add a bit of code that tells your readers what cagetory each item is filed under, do the following:

Look for the following line of code:

<pre></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>)

The spacing here will probably be different from what you see, but the spacing doesn't really matter.

Once you've made the changes, 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>
</pre>
Save your changes, and rebuild as before.

0 TrackBacks

Listed below are links to blogs that reference this entry: You Recently Started Using Categories in Your MovableType 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 April 2, 2006 9:48 PM.

Video Game on Mideast Politics Raises Ethical Questions was the previous entry in this blog.

Nature of News 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 --...

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.