• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Links in BreadCrumb Trail

Adam K M

Active member
#1
Hello!
My and my friends are currently working on a very large website/project, with Xenforo at it's base!

At current we're using an add-on called kotomi to let us use our Xenforo to it's full extend with tons of php!

This has also resulted in us creating (some) very awesome pages... however since they're not actually being managed by Xenforo - the headers/footers are being called in with kotomi.. we were wondering how we would go about changing the breadcrumbs (which is brought in by kotomi) depending on the pages.
upload_2013-7-11_13-49-46.png
Ie. in that screenshot, above "Add a Cube World Server", we want to make the breadcrumb display links like this:
Home > Servers > Add Server >
Instead of just:
Home >

Does anyone have any ideas/thoughts on how we can do this?
Again, the "breadcrumb" and the actual header/footer is all being added in by the automatic php code - the actual code we have chosen starts at the "Add a Cube World Server" part!

Thanks for your help!
 

Brogan

XenForo moderator
Staff member
#2
You can add breadcrumb elements using something like:
Code:
<xen:navigation>
    <xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>