|
-
Oct 23rd, 2006, 08:10 AM
#1
Thread Starter
Fanatic Member
SiteMapPath *Resolved*
I have one site set up, but there are different sections too it. My main section has a SiteMapPath that displays the breadcrumb based on my web.sitemap file, but how do I insert another SiteMapPath for the other section that doesn't contain the links for the main section.
So in essence I need two seperate web.sitemap files, is this possible?
Last edited by davebat; Oct 23rd, 2006 at 08:46 AM.
-
Oct 23rd, 2006, 08:45 AM
#2
Thread Starter
Fanatic Member
Re: SiteMapPath
I figured it out, you can have multiple sitemap files by specifying them in the web.config like so:
VB Code:
<siteMap>
<providers>
<add
name="RmmisXmlSiteMapProvider"
type="System.Web.XmlSiteMapProvider"
siteMapFile="rmmis.sitemap" />
<add
name="DashboardXmlSiteMapProvider"
type="System.Web.XmlSiteMapProvider"
siteMapFile="dashboard.sitemap" />
</providers>
</siteMap>
-
Oct 24th, 2006, 01:42 PM
#3
Re: SiteMapPath *Resolved*
I haven't been working with sitemaps much in ASP.NET, we've used our own algorithm to generate it in a very optimized fashion (you know how it is with corporations). But is a single provider all that's required for the entire website? Does this get generated from the VS.NET solution itself, and can any files be excluded?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|