![]() |
Thanks a lot for this Mod. I also would like to have the site map show not only my product categories, but also my help area and static pages, (it was mentioned earlier on in this thread) but I did not see a solution? Can anyone help me out?
Thanks |
I just edited the sitemap code by hand myself to add relavent links.
|
GREAT CODE...took a few tries but I figured it out. You actually made it very easy and I was trying to make it harder :)
I would love to get my static pages on there...which template do you mod and what would a link look like in that mod...thanks! Bling |
Re: Site map page
Quote:
Hi Fermando, Would you please help me on this? After this step, there's smarty error...not sure if I have put the right code at the right file... I had to delete the whole thing... Thanks, |
I got a smarty error as well...Im not sure if its the same thing but the last {else}
{include file="common_templates.tpl"} {/if} is actually already part of the template and not what you actually what you put in the template. The only part you actually paste in is the top 4 lines...the bottom is just used as reference. Hopefully it helps...that was the biggest part I messed up on...or maybe I am just way too newbie...heh {* Lines added for sitemap *} {elseif $main eq "sitemap"} {include file="customer/sitemap.tpl"} {* End of added lines *} {else} {include file="common_templates.tpl"} {/if} |
Anyone got this working for 3.5.x yet??? :-s
I have the same issue as speedmaster & longhorn180.... would love to get it working properly! |
re:sitemap
Quote:
Did you edit the sitemap.php or something else? I was looking at the code, and wasn't sure where to add.... Vicky Rowe |
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 |
Brian...copied your post here and deleted the other one for simplicity sake. Thanks!
|
Anyone?? (2 posts up)
It would be greatly appreciated, thanks! Brian |
All times are GMT -8. The time now is 05:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.