DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Movable Type Navigation

  • submit to reddit
        This will generate nested unordered lists of links to all category and sub-category archives that are descendants of the "Articles" category, but not a link to the "Articles" category itself. Requires the wonderful <a href="">Compare</a> plugin.

<MTIfIsDescendant parent="Articles">
<MTIfEqual a="[MTCategoryLabel]" b="Articles">
<MTSubCatIsFirst><ul class="leftnav"></MTSubCatIsFirst>
<li><strong><a href="<MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><$MTCategoryLabel$></a><MTSubCatsRecurse></strong></li>