• 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?


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


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

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.