MyBB Community Forums

Full Version: Remove breadcrumb from index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How do I remove the navigation breadcrumbs/tree from the forum index page only?

I've read some hints here but I still can't figure it out :/

I know this may require core files edit since the navigation tree is in the header and all pages (including index) uses the header. What this core edits would be?
Open your index.php file and find following code:

eval("\$index = \"".$templates->get("index")."\";");

And add following code to above:

$header = str_replace("<navigation>", "", $header);

This will remove navigation only from index.php.
It worked Big Grin

Thanks a lot DragonFever!
You rock @DragonFever !
Core edits are uncool Cool

You could use this: https://community.mybb.com/mods.php?action=view&pid=588
The newest version has a "hide on index" option Wink
Lol I can't even find this code inside my index.php
eval("\$index = \"".$templates->get("index")."\";");
@Livewire - please use this method:
https://community.mybb.com/thread-98536-...#pid719720