Breadcrumbs to show Navigation of user
Posted
by user310916
on Stack Overflow
See other posts from Stack Overflow
or by user310916
Published on 2010-04-07T14:00:53Z
Indexed on
2010/04/07
14:03 UTC
Read the original article
Hit count: 577
breadcrumbs
My Folder structure in sharepoint is flat one. in the same level I have pages Home, Main Articles, Articles by Category, Article Content aspx pages.
A user can navigate like Home > Main Articles > Articles by Category > Article or Home > Main Articles > Article or Home > Article. I want user to see the breadcrumbs as shown above.
I created a web.sitemap xml file in my site definition as follows
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="Landing.aspx" title="Tips from the Top" description="The Tips from the Top Home Page">
<siteMapNode url="MainArticles.aspx" title="All Articles" description="All Articles are available here">
<siteMapNode url="ArticlesbyCategory.aspx" title="Articles by Category" description="Articles on selected category">
<siteMapNode url="CurrentArticleContent.aspx" title="Article Content" description="Article of Interest" />
</siteMapNode>
<siteMapNode url="CurrentArticleContent.aspx" title="Article Content" description="Article of Interest" />
</siteMapNode>
<siteMapNode url="MainTips.aspx" title="All Business Tips" description="All Business Tips are available here">
<siteMapNode url="TipsbyCategory.aspx" title="Tips by Category" description="Tips on selected category" />
</siteMapNode>
</siteMapNode>
</siteMap>
and also added a web.config file as
<siteMap defaultProvider="MapProvider">
<providers>
<add name="MapProvider" type="xyz.abc.SiteDefinition.MapProvider,xyz.abc.SiteDefinition"
siteMapFile = "Web.Sitemap" />
</providers>
</siteMap>
© Stack Overflow or respective owner