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

XF 1.5 Link to Xenforo Xen Tags?

Discussion in 'XenForo Questions and Support' started by sajal, Oct 12, 2016.

  1. sajal

    sajal New Member

    Can anyone please give me the proper link where all the XEN template (e.g. xen:set) tags are explained with example?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. sajal

    sajal New Member

    In fact, I was just looking for the syntax of following PHP code.

    <?php
    $i=0;

    // some in-built foreach in Xenforo template
    foreach ($nodeList as $node) {
    $i++;

    if ($i==5) {
    // do something
    }
    }

    So, just incrementing a variable and do something if it's reached to 5.

    Without documentation, I was having a bit of hard and frustrating time :D.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  5. sajal

    sajal New Member

Share This Page