Thread: Site map page
View Single Post
  #38  
Old 08-07-2005, 01:19 PM
 
btomasie btomasie is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 80
 

Default

Hi all,
I have added the sitemap to my store but there is one alteration I would like to do, and am stumped on how to achieve what I need. This is where I am looking for assistance if someone would be so kind.

The alteration I need to make to fernando's code, is in this piece:

Code:

{if $allcategories[l2_cat_num].subcategory_count gt 0} {*** check if parent has child cats***}
<ul>
{section name=l3_cat_num loop=$allcategories}
{if $allcategories[l3_cat_num].parentid eq $allcategories[l2_cat_num].categoryid}[*]{$allcategories[l3_cat_num].category}


I only want this piece of code to work for certain subcategories, not all of them. What I need is for the sitemap to dive in and display this level ONLY for:
http://storename.../xcart/home.php?cat=983
http://storename.../xcart/home.php?cat=1014
http://storename.../xcart/home.php?cat=1075
http://storename.../xcart/home.php?cat=1091

I can't figure it out though. Can anyone help me out? It would be GREATLY appreciated. I did PM fernando, but unfortunately he is extremely busy with projects.

If anyone could help me with it, it would be greatly appreciated!!

Thanks,
Brian
__________________
X-Cart Gold v4.0.18 [unix]
- Easy Checkout module
- ezUpsell module
- CDSEO module

X-Cart Gold v4.1.11 [unix]
***38,000+ active products!
- CDSEO module
- Address Book module
- Reorder module
- Smart Search module

X-Cart Gold v4.4.2 [unix]
- in development now!
Reply With Quote