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

Cut out "Help" on breadcrumbs

Discussion in 'Styling and Customization Questions' started by Morgain, Jan 6, 2013.

  1. Morgain

    Morgain Well-Known Member

    On my stripped XF version site one component I've stripped is Help.
    But it's showing as a link in the Breadcrumbs bar on the Contact Us page.

    How can I stop that tab displaying on the breadcrumbs bar?
  2. Digital Doctor

    Digital Doctor Well-Known Member

  3. Chris D

    Chris D XenForo Developer Staff Member

    The links DD provided may help...

    But actually there's a simple code edit that will work. Not ideal... but it's quick and easy.

    Open the following file:


    Remove the small bit of code in red (including the comma):

    return $router->getRouteMatch('XenForo_ControllerPublic_Misc', $routePath, 'help');
    This is the "major section" parameter. It controls which tab will be selected. Equally you could change it to any other word such as "forums" or "members". Any other tab ID.
    Morgain likes this.
  4. Morgain

    Morgain Well-Known Member

    Thanks Chris - I p[robably didnt do it right as the tab just disappeared but that's fine for what I need.

    DigDoc I know the Help is still there so's a lot of other stuff if you know the links from knowing XF. It's just commented out or disabled from view.
    But for the low expertise users this site generally gets thats not a problem. They have a hard enough time finding something I put right under their nose!
  5. Chris D

    Chris D XenForo Developer Staff Member

    Is that not what you asked for?

    The tab disappearing is what was supposed to happen after my instructions were followed.
  6. Morgain

    Morgain Well-Known Member

    Oh OK. I thought your note replaced the name with another. But it's fine - I just wanted it GONE - hugs to cute Chris.

Share This Page