2014-10-14, 01:52 PM
Some Little Hacks/Tricks With Bread Crumbs! :
How to change the first breadcrumb from Forum Index to Home :
You need to edit the "Global.php" from the root.
Find this:
& then change it to:
How to remove the Category name when viewing any thread:
You are going to do this:
Index -> Category -> Forum -> Viewing Thread
To:
Index -> Forum -> Thread
You need to remove the following line from ./inc/functions.php around line 3300.
How to change the link of "Index.php" from the first breadcrumb:
Again edit "Global.php" & edit
To:
I hope these little tricks will help you bit.
How to change the first breadcrumb from Forum Index to Home :
You need to edit the "Global.php" from the root.
Find this:
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";
& then change it to:
$navbits = array();
$navbits[0]['name'] = 'Home' ;
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";
How to remove the Category name when viewing any thread:
You are going to do this:
Index -> Category -> Forum -> Viewing Thread
To:
Index -> Forum -> Thread
You need to remove the following line from ./inc/functions.php around line 3300.
if($pforumcache[$forumnav['pid']])
{
build_forum_breadcrumb($forumnav['pid']);
}
How to change the link of "Index.php" from the first breadcrumb:
Again edit "Global.php" & edit
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";
To:
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = 'http://yourlink.com' ;
I hope these little tricks will help you bit.