MyBB Community Forums

Full Version: Breadcrumbs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm running a forum in a directory /Forum
but i have a portal page that is linked to MyBB in the root directory. Is there anyway I can make the breadcrumbs show...

Homepage

when on the main portal page and

Homepage / Forum

when on the Forums page?
I believe the function is add_breadcrumb()

add_breadcrumb (line 2166)

Add a breadcrumb menu item to the list.
void add_breadcrumb (string $name, [string $url = ""])
string $name: The name of the item to add
string $url: The URL of the item to add
labrocca Wrote:I believe the function is add_breadcrumb()

add_breadcrumb (line 2166)

Add a breadcrumb menu item to the list.
void add_breadcrumb (string $name, [string $url = ""])
string $name: The name of the item to add
string $url: The URL of the item to add

I was on about putting the portal link as the first breadcrumb, i know how the add breadcrumb works and that just adds it after the forum index link, i think the best idea is to edit the nav template and add a manual link at the front of it so that it is always there and dont add the portal breadcrumb on the portal page? unless someone has a better idea?

Thanks for looking into it thou labrocca Smile

Ant
You can edit the actual function itself....