Help - Search - Members - Calendar
Full Version: Need help with Includes
Movable Type Community Forum > Additional Resources > Tips and Tricks
Babs
My entire blog is run off MT (including the FAQ, Characters, Wishlist, etc.)  What I'm running into is that these pages don't seem to know when a new category is added or when a new archive month begins.

Just for the sake of showing what I mean:  I've created a category called "Test"  You'll notice that this category shows up on all "archive" pages (Individual, Category and Monthly).  My problem is that the codes for these won't seem to stay on the other pages (about · disclaimer · contact · wishlist · characters · webcam)

on my archived paged I'm using this:
CODE
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br>
</MTArchiveList>


I also tried using that for the other pages but the code doesn't stay - rather gives me a series of:
CODE
<a href="http://www.babineau.ca/journal/archive/2002_10.shtml">October 2002</a><br>
<a href="http://www.babineau.ca/journal/archive/2002_09.shtml">September 2002</a><br>
<a href="http://www.babineau.ca/journal/archive/2002_08.shtml">August 2002</a><br>


What should I be using so that I don't have to replace the code every month and do a fresh rebuild every month and when I add a new category??

Thanks!
cynics
hi wild guess...i suppose u created those pages using the mt templates?

did u click "Rebuild this template automatically when rebuilding index templates" ?
kadyellebee
Is it possible that you have the "Link this template to a file" box filled in with the same filename as your output file?  That could cause this problem because then it would overwrite the template every time you changed your files.

Kristine
Babs
Thanks folks!

I did have the rebuild box checked.  I also had the files linked.  I unlinked them and voila!  Thanks!

biggrin.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.