1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Closed Suggestions' started by Chris D, Sep 17, 2013.

  1. Chris D

    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.

  2. Mike

    Mike 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.
    Chris D likes this.

Share This Page