+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Disable links in Breadcrumb

Disable links in Breadcrumb

5 posts, 0 answered
  1. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    10 Apr 2012
    Link to this post
    Hi guys,

    I know I can create my own custom Breadcrumb control, but the Sitefinity one look s ok. All I want to do is to disable the links. I have group pages with nothing on them, so when you click on a link it just takes you to the top-most page under that group. I want though to disable the links, and have them as plain text.

    This is what I tried, I gave the Breadcrumb control an ID, and then in JavaScript I am trying to find it on the page and disable it, also change the text style. Hasn't worked. Anybody have any better ideas?

    Thanks,
    Andrei
  2. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    11 Apr 2012
    Link to this post
    Fixed it. Thanks!
  3. Pavol Kokinda
    Pavol Kokinda avatar
    39 posts
    Registered:
    28 Sep 2012
    20 Apr 2012
    Link to this post
    Hi Andrei,

    how are you overcome the issue with links ? I need, that the current node is displayed as text only.

    Pavol
  4. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    23 Apr 2012
    Link to this post
    Pavol,
    On my breadcrumb, the page that I am currently viewing, is shown as plain text by default. I am not sure how yours does not. The node representing the page that you are currently viewing must be displayed as plain text or it is a bug.
    My problem was not the node for the page currently being viewed, but the parent page. And I resolved it by way of CSS. I have added some CSS to the master page to disable it and colour it Black. It still responds to hovers but at least it does not do anything when you click on it.
    Cheers,
    Andrei
  5. Anthony
    Anthony avatar
    2 posts
    Registered:
    27 Sep 2013
    24 Nov 2013 in reply to Andrei
    Link to this post
    Hi Andrei

    Can you please share the CSS styling you implemented to solve this issue?

    Thank you in advance.
5 posts, 0 answered