simbolo
Well-known member
For example I want to pass an array value to a template:
I can't do that as it responds with:
Is it possible to add the ability to pass non scalar values?
PHP:
<xen:include template="widgetportal_widget_carousel_edit_item" >
<xen:set var="$item.carousel_id">0</xen:set>
</xen:include>
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?
Upvote
0