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

Add-on Be able to put code for options in phrases

Discussion in 'Resource and Add-on Requests' started by Matthew Hawley, Jan 12, 2014.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    I want to be able to put code for options in phrases.

    For example I want to put {$xenOptions.boardTitle} in a phrase.

    Thanks!
     
  2. Daniel Hood

    Daniel Hood Well-Known Member

    where {xen:phrase 'name_of_phrase'} is called, add {xen:phrase 'name_of_phrase', 'title={$xenOptions.boardTitle}'} instead. Then change the phrase to be "Something: {title}" and it'll show the board title.
     
    MattW and Chris D like this.
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    I don't care about the board title. I was just using that as an example.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    So was Daniel...
     
    MattW and Daniel Hood like this.

Share This Page