More in this section

Forums / Developing with Sitefinity / overiding breadcrumb value?

overiding breadcrumb value?

2 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    09 Nov 2007
    12 Nov 2009
    Link to this post

    I want to be able to add an area to the page properties section that allows users to specify the value to use for a breadcrumb.

    If its empty it will use the page name (as it currently does)
    But if it has a value, it will use this value instead
    The link will remain the same.

    Is this possible, if so how would i acheive this?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    12 Nov 2009
    Link to this post
    Hi Quade,

    Adding custom page properties is not supported at 3.7 versions. Actually you can do it if you have a custom table where you persists the data of your property and have a column that is the PageID so that you can make a relation. You need to use SQL queries to retrieve the data when you open a page properties for editing. This will not allow you to call the property directly. Then in your custom breadcrumb control you will need to get the page ID and make a query to the custom table you created and return the value.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered