• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Non-scalar values in xen:set

simbolo

Well-known member
#1
For example I want to pass an array value to a template:
PHP:
<xen:include template="widgetportal_widget_carousel_edit_item" >
    <xen:set var="$item.carousel_id">0</xen:set>
</xen:include>
I can't do that as it responds with:
The following error occurred:

Line 28: Invalid template include variable assignment specified. Only scalar variable names may be assigned.
Is it possible to add the ability to pass non scalar values?