XF 2.0 Error attachments

XenConcept

Well-known member
I do not see where the worry can come from.

mG7hl9r2Txm35ul6X8_sKQ.webp

HTML:
<div class="block">
    <div class="block-container">
        <div class="block-body lbContainer js-testBody"
            data-xf-init="lightbox"
            data-lb-id="product-{$test.product_id}"
            data-lb-caption-desc="{{ $test.User ? $product.User.username : $test.username }} &middot; {{ date_time($test.product_date) }}">

            <div class="testBody">
                <article class="testBody-main js-lbContainer">

                    {{ bb_code($test.message, 'test', $test) }}

                    <xf:if is="$description.attach_count">
                        <xf:if contentcheck="true">
                            <xf:css src="attachments.less" />
                            <ul class="attachmentList productBody-attachments">
                                <xf:contentcheck>
                                    <xf:foreach loop="$test.Attachments" value="$attachment" if="!$test.isAttachmentEmbedded($attachment)">
                                        <xf:macro template="attachment_macros" name="attachment_list_item"
                                            arg-attachment="{$attachment}"
                                            arg-canView="{{ true }}" />
                                    </xf:foreach>
                                </xf:contentcheck>
                            </ul>
                        </xf:if>
                    </xf:if>
                    <div class="js-historyTarget toggleTarget" data-href="trigger-href"></div>
                </article>
            </div>
        </div>
    </div>
</div>

Can you help me @Chris D
 
Last edited:
Back
Top Bottom