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

Get value from parameter array in template

Discussion in 'XenForo Development Discussions' started by xmarinusx, Jun 28, 2015.

  1. xmarinusx

    xmarinusx Member

    I am using a php callback to pass in parameters to a template, how can I get a value from an array in the parameters?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What is the format of the array?
    You should typically be able to access it using something like {$array.item}.
  3. xmarinusx

    xmarinusx Member

    That works, thanks.

Share This Page