MyBB Community Forums

Full Version: Breadcrum URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys I am here again needing some help  Sad . I want to change the url of "AndalmereCraft" in the breadcrumb.
[Image: 4390c6265c7b44ed8e406799680169b8.png]
Someone please help me and have a nice day Smile
You have to look under the Navigation templates.
(2017-05-14, 11:22 PM)Ashley1 Wrote: [ -> ]You have to look under the Navigation templates.

<span class="crust">
	<a href="{$navbit['url']}" class="crumb">{$navbit['name']}</a>
	<span class="arrow">
		<span>&gt;</span>
	</span>
</span>

I think I located where I need to edit it but, where can i change {$navbit['url']}?
What is it that you want to change? The two main templates would be

nav_bit and nav_bit_active

under the navigation templates as mentioned before.
(2017-05-14, 11:36 PM)Ashley1 Wrote: [ -> ]What is it that you want to change? The two main templates would be

nav_bit and nav_bit_active

under the navigation templates as mentioned before.

I want to change the URL of "Andalmere" from "http://andalmerecraft.space/forums/forums.php" to "http://andalmerecraft.space/forums/"
You can either change your Board URL in ACP -> Settings -> Site details or

you will have to edit the core file global.php

around line 940:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl'].'/index.php';

I recommend you use the plugin Patches if you are going to make changes to core files.
(2017-05-14, 11:49 PM)Ashley1 Wrote: [ -> ]You can either change your Board URL in ACP -> Settings -> Site details or

you will have to edit the core file global.php

around line 940:

// Add our main parts to the navigation
$navbits = array();
$navbits[0]['name'] = $mybb->settings['bbname_orig'];
$navbits[0]['url'] = $mybb->settings['bburl'].'/index.php';

I recommend you use the plugin Patches if you are going to make changes to core files.

Thank you a lot Smile