PDA

View Full Version : Site map levels


kat
14-May-2003, 04:11 PM
I have included the default site map in my store, however, I'd like it to show just the top 2 levels rather than all my pages.

I've used the thumbnail approach and every product has a 'section' so it's getting to be a pretty big site map.

Can I limit the number of levels it displays?

cdicken
15-May-2003, 03:44 PM
No you can't, but it is possible to replace the default SiteMap with a list of just the sections and first level of subsections by including one of the JavaScript lists that are in the Advanced User Guide.

In Act_SiteMap.html, replace NETQUOTEVAR:SITEMAP with the code from p37 of the Advanced Users Guide - Creating a List of Hyperlinks with Sections and Sub-sections. There is also some code to insert into the <HEAD> section of the Overall Layout Template in order to get it to appear.