| Message Text |
I'm using the following code on my sitemap page -
<!-- BEGIN MAP LINE -->
<!-- BEGIN CAT1 -->
<IF {CATPARENT} is 0><a href="{CATURL}">{CATNAME}</a>
<OTHERWISE>
{INDENT} <a href="{CATURL}">{CATNAME}</a>
</IF>
<br />
<!-- END CAT1 -->
<!-- BEGIN CAT2 -->
<IF {CATPARENT} is 0><a href="{CATURL}">{CATNAME}</a>
<OTHERWISE>
{INDENT} <a href="{CATURL}">{CATNAME}</a>
</IF>
<br />
<!-- END CAT2 -->
<!-- BEGIN CAT3 -->
<IF {CATPARENT} is 0><a href="{CATURL}">{CATNAME}</a>
<OTHERWISE>
{INDENT} <a href="{CATURL}">{CATNAME}</a>
</IF>
<br />
<!-- END CAT3 -->
<!-- END MAP LINE -->
The parent categories are listed correctly, but all the subcategories which should be listed under their parents in the appropriate sections are all listed in the CAT3 section (w/o their parent category). I've confirmed that the subcategories are listed as the correct category type. |