KiF
Active member
Hello.
Is they a way to include and use a var $temp_array from custom_var_template to templates?
custom_var_template
I tried
but had not needed result.
Is they a way to include and use a var $temp_array from custom_var_template to templates?
custom_var_template
HTML:
<xf:set var="$temp_array" value="{{ {
'1': '1',
'2': '2',
'99': '99'
} }}" />
I tried
HTML:
<xf:include template="custom_var_template" />
{{ dump($temp_array) }}
but had not needed result.