• I would like to use Breadcrumb navXT but I am unable to get it to work properly. I have menu items that are custom links so they are not selectable. However in the breadcrumbs you can navigate to them, I don’t want a user to be able to navigate to them. How would I go about doing this? I need to get this resolved as soon as possible.

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    If you want to keep the resource in the breadcrumb trail, but just not have it linked, you can use the bcn_breadcrumb_linked filter. Using the passed in parameters to determine if the breadcrumb is for a resource you wish to not link, and returning false if you wish for the breadcrumb to be unlinked. The following article provides an example of how to do this: https://mtekk.us/archives/guides/remove-the-link-in-a-breadcrumb/

    If you want to remove the resource from the breadcrumb trail, you will want to use the bcn_after_fill action, iterating over the passed in bcn_breadcrumb_trail object’s breadcrumbs array searching for the breadcrumb you want to remove, and removing it from the breadcrumbs array.

Viewing 1 replies (of 1 total)

The topic ‘make menu parent not selectable’ is closed to new replies.