Hi!
Silverstripe sintax is a bit complex for me.
So my problem is take data return by function in my template.
If my function return a boolen, and I call $function_name in my template everything is ok.
But if I need a if structure link
<% if function return true %>
...
<% else %>
how can pass this value in template?