• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Adding breadcrumb to template

#1
Hey there,

I am in the process of creating an addon for XenForo and am coming up against a little problem.

I am trying to populate the breadcrumb based on the route. I have added a navbar menu item using a listener and when I click on the menu item it brings me to my routed controller just fine. However there is no breadcrumb.

How can I populate this breadcrumb based on the current routed page? Thanks!