Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
While updating an add-on for XF2.2, I discovered that a template macro's arguments can no longer access to $__globals variable where in XF2.0-XF.21 they could.Is this an expected or intended change?ie, this produces different outputs XF2.2 vs earlier;[CODE="xml"]<xf:macro name="example" arg-tmp="{{ array_keys($__globals) }}"> {{ dump($tmp) }}</xf:macro>[/CODE]
While updating an add-on for XF2.2, I discovered that a template macro's arguments can no longer access to $__globals variable where in XF2.0-XF.21 they could.
$__globals
Is this an expected or intended change?
ie, this produces different outputs XF2.2 vs earlier;
[CODE="xml"]<xf:macro name="example" arg-tmp="{{ array_keys($__globals) }}">
{{ dump($tmp) }}
</xf:macro>[/CODE]
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences