Lack of interest Allow new template code to be used in older version of XenForo

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Jon W

Well-known member
It would be great if there was a way to include template code from the next minor release in an older release using something like:
HTML:
<xf:if versionabove="2020030">
    <xf:newtag>This only works in XenForo 2.2 and above so is not parsed in older XenForo versions</xf:newtag>
</xf:if>

As a real example, it would be nice to do something like this:
HTML:
<xf:if versionabove="2010030">
    <xf:fa icon="fa-network-wired" />
<xf:else />
    <i class="fa fa-plug" aria-hidden="true"></i>
</xf:if>
 
Upvote 4
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom