D
Deleted member 10469
Guest
Hello, how execute code once every two in a foreach please ?
And how test a variable inside a template please (ex: var_dump or echo) ?
Thanks
PHP:
<xen:foreach loop="$renderedChildren" value="$child">
{xen:raw $child}
// Here, execute code once every two (eg: 2, 4, 6, 8, 10, 12, etc.)
</xen:foreach>
And how test a variable inside a template please (ex: var_dump or echo) ?
Thanks