How can I enable sitemap breadcrumb on my Tridion page?
I wrote
<asp:SiteMapPath ID="SiteMapPath1" Runat="server" />
in my .net application to display a navigation map on a map. Can anyone tell me how to use this type of function on a Tridion page? Or should I use this as a user control and add it to my page?
And one more thing, as you can see, is downloading a PDF link to the image. How can I link this text with my corresponding PDF file located in the block block folder? Should I write the tcm id of the file (multimedia component) as follows?
<a href="tcm id of file" > Download PDF </a>
Will this be the right approach?
OK, you have 2 questions here - it really should be two separate questions. We move on.
There is nothing stopping you from using <asp:SiteMapPath>
from a website that uses Tridion - as long as you have a SiteMap provider and you create the required navigation map. (or something that .NET calls).
Alternatively, you can create your palette at the time of publication by indicating the location of your page on the website, as I explain in this publication.
For your download in PDF format, yes, you must have a template in Tridion generating those <a tridion:href="@@ Component.ID@ @"><img src="images/pdf.png" /></a>
or something like that. Don't expect hard coding of your TCM Uris, please.
Take a look at this article that explains how to publish an XML Sitemap data file from Tridion. Then you can use it with standard .net user controls. http://www.tridiondeveloper.com/web-sitemap