Lack of interest Class and Data attributes not available in <xen:link tags within <xen:popup tags

Chris D

XenForo developer
Staff member
As per the title,

If I were to use this code within a <xen:popup> tag in an admin template:

<xen:link href="{xen:adminlink 'add-ons/build', $addOn}" displayif="{$canAccessDevelopment}" class="OverlayTrigger" data-cacheoverlay="false">{xen:phrase build}</xen:link>
Neither the class or data attributes are compiled into the resulting template:

<a href="admin.php?add-ons/SomeAddOn/build">Build</a>
If this is "As Designed" then please consider adding those as valid attributes. It seems to me like that functionality could be useful even for parts of the core. e.g. the Uninstall or Upgrade links in the Admin CP add-ons list where consistently in other places they are triggered in an Overlay.



XenForo developer
Staff member
This is as designed in so far as we only support href and displayif. So I'll move it to suggestions.