Help - Search - Members - Calendar
Full Version: category use
Movable Type Community Forum > Additional Resources > Tips and Tricks
kadyellebee
I set up my group blog the red kitchen to have categories and it is GREAT!  Perfect for this group.  

If you look on the sidebar, it has a list of all of the categories that posts have been made under.  I also have red boxes under each actual post that lists the category so that people can find it again later or just know what the cook thinks it should be.

I haven't used categories nearly as much on my personal journal, but the kitchen makes up for it many times over!  I really love how it works.

hope this helps!
Kristine
christina
I also use the category to create a unique header image in the individual and category archives.

CODE
#marquee {
position: absolute;
top: 110px;
left: 0;
margin: 0;
padding: 0;
border-top:
2px solid #000;
border-bottom: 2px solid #000;
z-index: +1;
background-image:
url(http://www.eleganthack.com/img/cats/<$MTEntryCategory$>.jpg);
background-repeat: 3;
width: 100%;
height: 86px;  
}
erratic
does anyone have any good examples of category use? i haven't figured out how to use them quite yet, so i'd like to see something before i mess my templates up even further  :p
kgish
Basically, just include the following code somewhere in the Main Index template by the sidebar:
CODE
<div id="right">
...

<div class="side">
Archives by category:<br />
<MTArchiveList archive_type="Category">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$> (<$MTArchiveCount$>)</a><br />
</MTArchiveList>
</div>
...
</div>

It's easy. Make sure that in the Blog configuration you have checked the Archive by category option. For an example please feel free to visit my blog.
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.