Array info with helper - Basic template functions?

Hi there,
I want to find out how many items are in an array in a template file, is there something like <xen:helper array_size $array> or something?
Because there will be more things I need, like multiplying a width with the array size or subtraction.
More commonly to avoid following questions: Is there a list of all accessable features you can use in a template file?

Thanks :)
 
There's a number of helpers all defined in library/XenForo/Template/Helper/Core.php that should help.

Specifically you want

{xen:count $array}

And also

{xen:calc 5 + 5}
 
Back
Top Bottom