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

XF 1.3 Syntax to get the Board URL set on admin option?

Discussion in 'XenForo Questions and Support' started by RoldanLT, Jun 1, 2014.

  1. RoldanLT

    RoldanLT Well-Known Member

    Is there any template variable to grab the board url set?
     
  2. Liam W

    Liam W Well-Known Member

    $xenOptions.boardUrl

    is available I believe.
     
    Adam K M, Mirovinger and RoldanLT like this.
  3. RoldanLT

    RoldanLT Well-Known Member

    How exactly I can use that on templates?
     
  4. Liam W

    Liam W Well-Known Member

    {$xenOptions.boardUrl}

    Placed in a template, that will change to the board url set in the options.

    You might use it in a link:

    HTML:
    <a href="{$xenOptions.boardUrl}">Home</a>
     
    Adam K M likes this.
  5. RoldanLT

    RoldanLT Well-Known Member

    can be use on template modification also?
    Thanks !
     
  6. Liam W

    Liam W Well-Known Member

    Yes, all template syntax can be used in template modifications :)
     
    Mirovinger and RoldanLT like this.

Share This Page