Fixed Call up admin templates in public templates


Well-known member
Affected version
All the time it was impossible to call the control panel templates from the public part, but in the control panel it was possible to call. Are these faces now gone? Because recording does not work on XF 2.1.4:
<xf:macro template="admin:helper_criteria" name="user_tabs"
                    arg-userTabTitle="{{ phrase('allow_download_this_resource_while') }}" arg-active="user" />
And we got the corresponding error. In 2.1.5, this works in the public part.
Changes were made in 2.1.5 to allow admin template macros to be called from public templates.

I'm not sure what you're reporting?
It was impossible before. And if allowed, it looks kind of weird. The style will be inherited from the control panel templates. And accordingly, in many ways it does not correspond to reality. And if, for example, the style is in dark colors, then it will render, as in the control panel. The same template with a quick filter. There will be many problems with color schemes, because the control panel templates have their own static colors and do not have any style settings, adapted to dark styles or some unique light ones.
Then you need both style settings for the control panel. As well as the ability to edit templates for users without development mode.
Once done then done. In theory, then not a bug.
Just a weird step was.
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.6).

Change log:
Reverse a change that allowed admin templates to be called from within public templates.
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom