Help - Search - Members - Calendar
Full Version: Referencing a Category title
Movable Type Community Forum > Additional Resources > Tips and Tricks
bpaepke
I am building my template for the category archive on my site, and I seem to be having trouble displaying just the title of the one Category at the top. I am trying to display by using:

CODE
<MTCategories><$MTCategoryLabel$></MTCategories>


I can understand why all my categories are showing, but I just can't figure out how to show just the one I need.

I hope that makes sense. Summary, the user clicks on a listing of archives by category, when that page opens, I'd like to have the name of the category at the top, but I'm getting a complete list of all my categories at this point.

Thanks!
medic119
Instead of that code try
<$MTArchiveCategory$> instead.

You are alread in a Category and an Archive so those tags aren't needed. The tag above is what I use.
bpaepke
thanks for the speedy answere, that worked like a charm!

wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.