Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyway to use multiple SiteMaps depending on audience?

Status
Not open for further replies.

JonathanHerschel

Programmer
Mar 29, 2007
33
US
I am currently trying to find a way to use more than 2 web.sitemap files to show the navigational hierarchy on our site.
Is there a way to programatically point to different sitemaps depending on audience of site?

if (admin) {
use/point to admin.sitemap file
} elsif (visitors) {
use/point to visitors.sitemap file
} else {
use/point to other.sitemap file
}

I know the navigation providor can be extracted from sql database, and I figured out how to create a web part to delete/ add nodes to top per audience, but I would love to find out how I can create/use an interface that points to serveral .sitemap files.

Any help would be much appreciated.
-Herschel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top