default userpic

mt:archivelink

Vote 0 Votes

I have been using the following to generate a list of monthly archives however the tag mt:archivelink points to the index page not the monthly archive page.

<mt:IfArchiveTypeEnabled archive_type="Monthly">
<mt:ArchiveList archive_type="Monthly">
<mt:ArchiveListHeader>
<h4>Monthly</h4>
<ul class="menu">
</mt:ArchiveListHeader>
<li><a href="<mt:ArchiveLink>"><mt:ArchiveTitle> (<mt:ArchiveCount>)</a></li>
<mt:ArchiveListFooter>
</ul>
</mt:ArchiveListFooter>
</mt:ArchiveList>
</mt:IfArchiveTypeEnabled>

My archive type is set to Entry. I cannot see why this is not producing the correct link. Any ideas?

Reported on Movable Type 4.2

3 Replies

| Add a Reply

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1249 4102

Last Topic: neophyte (newbie) by Mike on Mar 13, 2010

1001 3201

Last Topic: Parse Atom XML with PHP by benthomas on Mar 12, 2010

478 1958

Last Topic: Back To The 'Upgrading Database' Dilemma by Perry Simon on Mar 13, 2010

102 358

Last Topic: Saving an entry...what is happening by jdbeast00 on Mar 12, 2010

19 69

Last Topic: Custom main index page by Richard on Feb 7, 2010

43 171

Last Topic: by MG on Feb 20, 2010

11 22

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

54 199

Last Topic: Publishing error in MT 5 by mikemontesa on Feb 17, 2010

code.sixapart.com

129 448

Last Topic: Action Stream for Google Buzz by jack lail on Feb 16, 2010