• 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

Morgain

Well-known member
#1
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?
 

Chris D

XenForo developer
Staff member
#3
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:

./library/XenForo/Route/Prefix/Misc.php

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

Code:
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

Well-known member
#4
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!
 

Chris D

XenForo developer
Staff member
#5
Thanks Chris - I p[robably didnt do it right as the tab just disappeared but that's fine for what I need.
Is that not what you asked for?

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

Morgain

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