XF 2.0 Where can i find documentation about the xf:contentcheck tag

megabosx

Active member
I can't seem to find documentation about the xf:contentcheck tag which is used extensively in templates, is this documented anywhere?
 
It's used in combination with <xf:if contentcheck="true"> to display container elements only if the <xf:contentcheck> child is not empty.

For example, the <div> will only be rendered if $message has a value:

HTML:
<xf:if contentcheck="true">
     <div>
         <xf:contentcheck>{$message}</xf:contentcheck>
    </div>
</xf:if>
 
Back
Top Bottom