Marcus Well-known member Oct 14, 2015 #1 I have an existing array $newThreads and want to push it to an included template: PHP: <xen:include template="addon_template" > <xen:set var="$threads">{$newThreads}</xen:set> </xen:include> In the addon_template {xen:helper dump, $threads} returns PHP: string(0) ""
I have an existing array $newThreads and want to push it to an included template: PHP: <xen:include template="addon_template" > <xen:set var="$threads">{$newThreads}</xen:set> </xen:include> In the addon_template {xen:helper dump, $threads} returns PHP: string(0) ""
Marcus Well-known member Oct 14, 2015 #3 Thank you so much, Chris D! My code is much cleaner now. For my reference, xen:map (explanation)