Help - Search - Members - Calendar
Full Version: categories
Movable Type Community Forum > Additional Resources > Tips and Tricks
imfo
I'm new to html, and such. I can't seem to figure out where to place the categories codes to show which categories I've set up. I also am not positive in which template to put the codes...

Is there any place that could give me simple instructions - like Movable Type for Dummies?

Any help appreciated. TIA
doggone
Your default Main Index (Index.html) contains the the following

CODE
<div class="side">
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
</div>


To display the category, you would change this
CODE
<MTArchiveList archive_type="Category"


so it would look like this

CODE
<div class="side">
<MTArchiveList archive_type="Category">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>
</div>



Or you can add it and do both Monthly and Category like this
CODE
<U><b>BY MONTH:</B></U><br>
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>" target="_blank"><$MTArchiveTitle$></a><br>
</MTArchiveList><P>

<U><B>BY CATEGORY:</B></U><br>
<MTArchiveList archive_type="Category">
<a href="<$MTArchiveLink$>" target="_blank"><$MTArchiveTitle$></a><br>
</MTArchiveList>


In the example above it essentially displays as:
BY MONTH
January
Ferurary etc

gives you papragraph spacing (same as 2
s (line breaks) together.

BY CATEGORY
This category
That category

You can see how it looks on screen at my site
Uncommon Thought Journal

good luck

imfo
Thanks so much! It worked, My Webpage
doggone
You are welcome. I'm relatively new to MT myself. I was happy to finally be able to provide some help after so many have helped me. smile.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.