<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2009://24.13633-</id>
  <updated>2011-09-01T02:26:52Z</updated>
  <title>Comments for mt:archivelink</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.13633</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=13633" title="mt:archivelink" />
    <published>2009-03-29T11:16:25Z</published>
    <updated>2009-07-21T22:17:44Z</updated>
    <title>mt:archivelink</title>
    <summary><![CDATA[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. &lt;mt:IfArchiveTypeEnabled archive_type="Monthly"&gt; &lt;mt:ArchiveList archive_type="Monthly"&gt; &lt;mt:ArchiveListHeader&gt; &lt;h4&gt;Monthly&lt;/h4&gt; &lt;ul class="menu"&gt; &lt;/mt:ArchiveListHeader&gt; &lt;li&gt;&lt;a href="&lt;mt:ArchiveLink&gt;"&gt;&lt;mt:ArchiveTitle&gt; (&lt;mt:ArchiveCount&gt;)&lt;/a&gt;&lt;/li&gt; &lt;mt:ArchiveListFooter&gt;...]]></summary>
    <author>
      <name>Nick Punter</name>
      <uri>http://www.eightbehind.com/</uri>
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>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.</p>

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

<p>My archive type is set to Entry.  I cannot see why this is not producing the correct link.  Any ideas?</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.13633-comment:21121</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.13633" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html#c21121" />
    <title>Comment from shenews on 2009-03-29</title>
    <author>
        <name>shenews</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>My old code for that uses &lt;mt:ArchiveLink archive_type="Monthly&gt; in that context. </p>]]>
    </content>
    <published>2009-03-29T12:42:11Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.13633-comment:21135</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.13633" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html#c21135" />
    <title>Comment from shenews on 2009-03-29</title>
    <author>
        <name>shenews</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Note that I copied that in error without the final quotes on "Monthly." You'd put them in, of course.</p>]]>
    </content>
    <published>2009-03-29T14:53:37Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.13633-comment:21155</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.13633" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/03/mtarchivelink.html#c21155" />
    <title>Comment from Nick Punter on 2009-03-29</title>
    <author>
        <name>Nick Punter</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks.  I tried that with no luck.  I don't see anything wrong with the tags and when publishing the monthly archives are being created.</p>]]>
    </content>
    <published>2009-03-29T18:36:43Z</published>
  </entry>

</feed>

