Webmastersite.net
Register Log In

subcategories not listed correctly

Title subcategories not listed correctly
Description on sitemap
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.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership hai
Views 629 views. Averaging 0 views per day.
Similar Topics
Submission Date Jun 26, 2008 - 8:17 PM