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

template syntax for array index

Discussion in 'XenForo Development Discussions' started by Jake Bunce, Sep 8, 2011.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Is there a template equivalent for this?

    I tried this but it doesn't work:

    Floris likes this.
  2. Mike

    Mike XenForo Developer Staff Member




    Is that {$array.{$index}.x} or {$array.{$index.x}}? The extra curlies resolve the ambiguity.
    Jake Bunce and Floris like this.

Share This Page