You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And we have too defined a Template to load Breadcrumbs, i use this just for Breadcrumbs. Then in a layout i call the Helper: @Html.MvcSiteMap().SiteMapPath("MyCustomTemplateInSharedViewsFolder")
Until now all ok, but, we will implement multilanguage in a site, and we wana have our xml .sitemap structure y a Resource.resx file.
We would like to have a way to override "BuildSiteMap" method of "XmlSiteMapBuilder" or some specific class just to load XML sitemap from our Source (resources or wathever...) and not from the path specified in "MvcSiteMapProvider_SiteMapFileName" in web.config. I Supose we should too set the schema validation .XSD....
As detail i should mention we do not use DI Contaner in our project...
I appreciate any help. My english is not good, so, sorry for that.
Thanks,
Orney
The text was updated successfully, but these errors were encountered:
Hi,
We are using MvcSiteMapProvider in MVC5 project. We have static sitemap in the directory with the following structure:
WebSite
--SiteMapFolder
-----WebMvc.sitemap
-----WebMvcSiteMapSchema.xsd
And we have too defined a Template to load Breadcrumbs, i use this just for Breadcrumbs. Then in a layout i call the Helper:
@Html.MvcSiteMap().SiteMapPath("MyCustomTemplateInSharedViewsFolder")
Until now all ok, but, we will implement multilanguage in a site, and we wana have our xml .sitemap structure y a Resource.resx file.
We would like to have a way to override "BuildSiteMap" method of "XmlSiteMapBuilder" or some specific class just to load XML sitemap from our Source (resources or wathever...) and not from the path specified in "MvcSiteMapProvider_SiteMapFileName" in web.config. I Supose we should too set the schema validation .XSD....
As detail i should mention we do not use DI Contaner in our project...
I appreciate any help. My english is not good, so, sorry for that.
Thanks,
Orney
The text was updated successfully, but these errors were encountered: