<?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/2008/11/generating-a-list-of-one-category-and-its-subs.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,2008://24.11482-</id>
  <updated>2011-09-01T02:26:47Z</updated>
  <title>Comments for Generating a List of One Category and Its Subs</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2008://24.11482</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/11/generating-a-list-of-one-category-and-its-subs.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=11482" title="Generating a List of One Category and Its Subs" />
    <published>2008-11-25T17:07:43Z</published>
    <updated>2008-12-05T14:45:27Z</updated>
    <title>Generating a List of One Category and Its Subs</title>
    <summary>I&#8217;m looking to make an archive listing of just a particular category and its subs. I&#8217;m helping someone who runs a political site take all the Election 2008 categories and list them in one place &#8212; and also exclude those...</summary>
    <author>
      <name>Solomon</name>
      <uri>http://www.solomonia.com/blog</uri>
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I&#8217;m looking to make an archive listing of just a particular category and its subs. I&#8217;m helping someone who runs a political site take all the Election 2008 categories and list them in one place &#8212; and also exclude those categories from the other category listing (though that&#8217;s a different issue). He&#8217;s made all his Election 2008 categories subs of that top category.  I&#8217;m wondering how I modify the Category Listing widget to achieve that (I&#8217;m going to try to paste the code, but I&#8217;m not hopeful it will work properly&#8230;here goes):</p>

<pre><code>&lt;MTIfArchiveTypeEnabled archive_type="Category"&gt;
&lt;div class="archive-category archive"&gt;
    &lt;h2 class="archive-header"&gt;Election 2008 Categories&lt;/h2&gt;
&lt;div class="archive-content"&gt;
&lt;MTTopLevelCategories&gt;
    &lt;MTSubCatIsFirst&gt;
    &lt;ul class="archive-list"&gt;
    &lt;/MTSubCatIsFirst&gt;
    &lt;MTIfNonZero tag="MTCategoryCount"&gt;
        &lt;li class="archive-list-item"&gt;&lt;a href="&lt;$MTCategoryArchiveLink$&gt;" title="&lt;$MTCategoryDescription$&gt;"&gt;&lt;$MTCategoryLabel$&gt;&lt;/a&gt;
    &lt;MTElse&gt;
        &lt;li class="archive-list-item"&gt;&lt;$MTCategoryLabel$&gt;
    &lt;/MTIfNonZero&gt;
    &lt;MTSubCatsRecurse&gt;
        &lt;/li&gt;
    &lt;MTSubCatIsLast&gt;
    &lt;/ul&gt;
    &lt;/MTSubCatIsLast&gt;
&lt;/MTTopLevelCategories&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/MTIfArchiveTypeEnabled&gt;
</code></pre>

<p>Any help with this would be appreviated.</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.11482-comment:14947</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.11482" type="text/html" href="http://forums.movabletype.org/2008/11/generating-a-list-of-one-category-and-its-subs.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/11/generating-a-list-of-one-category-and-its-subs.html#c14947" />
    <title>Comment from Mike T on 2008-12-05</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Looks like <a href="http://www.movabletype.org/documentation/appendices/tags/ifcategory.html">&lt;mt:IfCategory&gt;</a> is what you need.</p>]]>
    </content>
    <published>2008-12-05T14:45:27Z</published>
  </entry>

</feed>

