I'm pretty new to Umbraco so I apologies for any stupid questions. In my old website I used a SiteMapPath and a self-written Web.sitemap file. The Web.sitemap file I did not copy to my new Umbraco site but in the code I still use:
For some reason Umbraco auto generates a Web.sitemap file somewhere. Unfortunately it generates not the exact code that I want (I want to change the home URL).
Which file do I need to change to achieve this? When I change things to: "umbraco\xslt\templates\Breadcrumb.xslt" OR "umbraco\xslt\templates\Sitemap.xslt" there seems to be no change at all after refreshing the page. So where do I need to look?
Auto generated SiteMap
Hi there,
I'm pretty new to Umbraco so I apologies for any stupid questions.
In my old website I used a SiteMapPath and a self-written Web.sitemap file.
The Web.sitemap file I did not copy to my new Umbraco site but in the code I still use:
<div id="breadcrum">
<asp:SiteMapPath ID="SiteMapPath1" runat="server" />
</div>
For some reason Umbraco auto generates a Web.sitemap file somewhere.
Unfortunately it generates not the exact code that I want (I want to change the home URL).
Which file do I need to change to achieve this?
When I change things to: "umbraco\xslt\templates\Breadcrumb.xslt" OR "umbraco\xslt\templates\Sitemap.xslt" there seems to be no change at all after refreshing the page. So where do I need to look?
Thanks in advance!
The sitemap should be created from an xslt macro. If you familiar with xslt, you can insert your own <li> tag to point to the home node. (i.e. '/')
Don't edit the templates or point to them.. they are only templast for creating new xslt files.
Create a new xslt.. check the box to create a macro... select the sitemap template from the dropdown.
After the xslt/macro are created, you can edit the xslt file.
Finally, insert the macro in the template, replacing the <asp:SiteMapPath>
is working on a reply...