Site structure
Version 4.x > Site structure > Appending Custom Breadcrumbs View modes: 
User avatar
Member
Member
byron-falcon-software - 8/27/2009 2:58:55 PM
   
Appending Custom Breadcrumbs
Our client some custom external data for their site that is not part of Kentico nor will it likely be.

I created a template to handle the showing of this data and add the template to Kentico and create a page for it so that I get all of the other templated functionality and to allow them manage a blurb at the top of the data if they so choose.

The page is not in the Menu or Sitemap as it requires a query string id to show the data and you can't navigate to it directly.

The breadcrumbs for the pages above this page in the tree work fine and they show on this page, but all I need to do is append the name of the custom data type, (the company name for instance), as the current location breadcrumb.

eg:

» <span class="CMSBreadCrumbsCurrentItem">My Company Name Details Page</span>

How is this done?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 9/7/2009 11:30:54 AM
   
RE:Appending Custom Breadcrumbs
Hello,

I'm not sure if I understand correctly what exactly you need to achieve. Basically you can parse and modify this.bcElem.RenderedHTML property in SetupControl method of CMSBreadcrumb web part to change the HTML code generated by it. If this won't help, could you please provide us with some illustrational screenshot where we can see where exactly you need to change the breadcrumb and what value should be displayed as the current location (I'm not sure what exactly you mean by "custom data type")?

Best Regards,

Martin Dobsicek.