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

loop

  1. K

    XF 2.0 Possible 'for loop' in templates.xml ?

    How to use 'for loop' in Xenforo 2.0 language (templates.xml) For example pseudocode: // create $n and $i local variables, do action while $i < 100 <xf:for var="$n = 0; $i = 0" while="$i < 100" do="$i++"> // set $n as $i % 10 <xf:set var="$n" value="$i % 10" /> //... do something with $n ($i...