Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
Hi, I did some poking around in the SiteMapPRovider class, but I wasn't able to get the word/link "Categories' off the bread crumb trail. I just want 'home' and then the name of the category this item is in. Thank you.
|
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
ok, this worked for me, in SiteMapPRovider.vb, line 113
Dim strCategoryLabel As String = HttpContext.GetGlobalResourceObject("Kartris", "ContentText_Categories")
_rootNode = New SiteMapNode(Me, "0-" & numLANGID, "~/Default.aspx", HttpContext.GetGlobalResourceObject("Kartris", "ContentText_Home"), HttpContext.GetGlobalResourceObject("Kartris", "ContentText_Home"))
' _rootNode = New SiteMapNode(Me, "0-" & numLANGID, "~/Category.aspx?L=" & numLANGID, strCategoryLabel, strCategoryLabel)
' Dim HomeNode As SiteMapNode = New SiteMapNode(SiteMap.Providers.Item("BreadCrumbSiteMap"), "Home", "~/Default.aspx", HttpContext.GetGlobalResourceObject("Kartris", "ContentText_Home"))
' AddNode(_rootNode, HomeNode)
_htRootNodes.Add(numLANGID, _rootNode)
' Build the child nodes
|