1. 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

Discussion in 'Styling and Customization Questions' started by Adam K M, Jul 11, 2013.

  1. Adam K M

    Adam K M Active Member

    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!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can add breadcrumb elements using something like:
    Code:
    <xen:navigation>
        <xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
    </xen:navigation>
     
    Jeremy likes this.
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    Brogan likes this.

Share This Page