abcohen
01-09-2006, 04:16 PM
surprized this one isnt been updated, yet... but here are my quick code edits and they seem to work
in p46_sitemap.php
line 28
from this...
**********echo $fullpadstring . $delimiter . '<a href="index.php?categoryid=' . $subcategory['categoryid'] . '">' . $subcategory['name'] . '</a><br />';
change to this...
**********echo $fullpadstring . $delimiter . '<a href="' . RewriteLink('index.php?categoryid=' . $subcategory['categoryid']) . '">' . $subcategory['name'] . '</a><br />';
and on line 59
from this...
******echo '<a href="index.php?categoryid=' . $category['categoryid'] . '">' . $category['name'] . '</a><br />';
change to this...
**** echo '<a href="' . RewriteLink('index.php?categoryid=' . $category['categoryid']) . '">' . $category['name'] . '</a><br />';
in p46_sitemap.php
line 28
from this...
**********echo $fullpadstring . $delimiter . '<a href="index.php?categoryid=' . $subcategory['categoryid'] . '">' . $subcategory['name'] . '</a><br />';
change to this...
**********echo $fullpadstring . $delimiter . '<a href="' . RewriteLink('index.php?categoryid=' . $subcategory['categoryid']) . '">' . $subcategory['name'] . '</a><br />';
and on line 59
from this...
******echo '<a href="index.php?categoryid=' . $category['categoryid'] . '">' . $category['name'] . '</a><br />';
change to this...
**** echo '<a href="' . RewriteLink('index.php?categoryid=' . $category['categoryid']) . '">' . $category['name'] . '</a><br />';