<mt:SubCatIsFirst>

The contents of this container tag will be displayed when the first category listed by a mt:SubCategories loop tag is reached.

<mt:SubCategories>
    <mt:SubCatIsFirst>
        <!-- do something -->
    <mt:else>
        <!-- do something else -->
    </mt:SubCatIsFirst>
</mt:SubCategories>

Use mt:SubCatIsLast for conditioning content at the end of the loop.

Examples ΒΆ

See mt:SubCategories loop tag for more examples.

This page was last updated on 2009-06-23, 19:43. [Edit]

1 Note

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.