Forum

Thread tagged as: Problem, Blog

Duplicate asset filter toolbar

I've noticed when adding assets into blog posts that anything used from my blocks results in duplicate filter toolbars, in the overlay that appears for the bucket. See below:

duplicate

If I continue to add more, for instance another single image from my blocks template (which is being rescoped for the blog), I get more duplicates appearing. My blocks template looks like:

<perch:blocks order="4">

    <perch:block type="textblock" label="Text" icon="pencil">
        <div class="block-Paragraph e-content">
            <perch:content id="postDescHTML" type="textarea" label="Large paragraph field" markdown="true" size="xxl autowidth" />
        </div> 
    </perch:block>

    <perch:block type="singleimage" label="Image - Full width" icon="photo">
        <div class="block-Image_Single"><img src="<perch:content id="fullimage" type="image" width="1200" height="800" crop="true" quality="90" label="Full width image" help="Remember keep images well compressed prior to upload - Images will be cropped if they exceed 1200 pixels in width and 800 pixels in height"/>" alt="<perch:content id="alt" type="text" label="Image description" />" class="single-Image"></div>
    </perch:block>

    <perch:block type="twoimages" label="Two Images (side by side)" icon="photo">
        <div class="block block-Image_Duo">
            <div class="image">
                <img src="<perch:content id="contentimage1" type="image" width="600" height="400" crop="true" label="Image one of two" />" alt="<perch:content id="alt1" type="text" label="Image 1 description" help="Alt text used inline on the image tag. Please enter something for screen readers." />">
            </div>

            <div class="image">
                <img src="<perch:content id="contentimage2" type="image" width="600" height="400" crop="true" label="Image two of two" />" alt="<perch:blog id="alt2" type="text" label="Image 2 description" help="Alt text used inline on the image tag. Please enter something for screen readers." />">
            </div>
        </div>
    </perch:block>

    <perch:block type="imagefigleft" label="Image single left" icon="photo">
        <div class="block block-Image_Duo">
            <figure class="image">
                <img src="<perch:content id="figimage1" type="image" width="600" height="400" crop="true" label="Image with caption" />" alt="<perch:content id="fig1alt" type="text" label="Image 1 description" help="Alt text used inline on the image tag. Please enter something for screen readers." />">
                <figcaption><perch:content id="figcaption1" type="text" label="Image caption" help="This is a caption to describe the image and give context." /></figcaption>
            </figure>
        </div>
    </perch:block>

    <perch:block type="quote" label="Quote" icon="quote">
        <perch:content id="quote_type" type="select" options="left|Left, central|Central, right|Right" label="Choose positioning" allowempty="false" required="true" suppress="true" />
        <perch:content id="quote_el" type="textarea" label="Quote text" editor="markitup" markdown="true" size="m autowidth" suppress="true" />
        <perch:if id="quote_type" value="Left">
            <div class="block-Quote block-Quote_Pleft">
                <blockquote><perch:content id="quote_el" type="textarea" /></blockquote>
            </div>
        </perch:if>

        <perch:if id="quote_type" value="Central">
            <div class="block-Quote block-Quote_Pcentral is-Quote">
                <blockquote><perch:content id="quote_el" type="textarea" /></blockquote>
            </div>
        </perch:if>

        <perch:if id="quote_type" value="Right">
            <div class="block-Quote block-Quote_Pright is-Quote">
                <blockquote><perch:content id="quote_el" type="textarea" /></blockquote>
            </div>
        </perch:if>
    </perch:block>

</perch:blocks>

The include in my post.html looks like:

<perch:template path="content/blocks.html" rescope="parent" order="3" />
Mathew Doidge

Mathew Doidge 2 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you running 3.0.1?

I wasn't - just updated. I've just done another post since update and now when I click on one of the image upload fields from my block, the overlay briefly appears for a split second and then vanishes and i lose the scrollbar on my page. It's as if it's acting as though the overlay is open, but it isn't accessible. Happens in both chrome and Firefox (initially i thought perhaps that might be the issue).

Drew McLellan

Drew McLellan 2638 points
Perch Support

As per multiple other posts here, that's something we're looking at.