• Resolved Chris Schrijver

    (@chrisschrijver)


    I have created a page builder with ACF. It’s quite awesome and your plugin makes it even better. Thanks for that.

    What is stumble upon is that when I insert a new flexible content item, a lot of duplicate clone buttons are inserted on the item. This can easily been fixed by inserting an if-statement in the acf-extended-fc-control.js file.

    Like this: (around line 600)

    // Button: Clone
    if (!$controls.has('[data-acfe-flexible-control-clone]').length) {
        $controls.prepend('<a class="acf-icon small light acf-js-tooltip acfe-flexible-icon dashicons dashicons-admin-page" href="#" title="Clone layout" data-acfe-flexible-control-clone="' + $layout.attr('data-layout') + '"></a>');
    }

    Could this please inserted into the core of your plugin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the report! I’ve extensively tested the clone button on complexe architectures before releasing it (flexible content > inside flexible content > inside clone etc…) and I couldn’t reproduce this bug.

    Can you give me some informations about your main field configuration?

    I’ll run additional tests, and include your code (which is a good control statement anyway). I’m planing to release a minor patch soon, before the big one about ACF Forms. I’ll include this fix.

    Thanks again,

    Regards.

    Thread Starter Chris Schrijver

    (@chrisschrijver)

    In the case that we experienced it the structure is as follows:

    – Repeater
    – Flexibel content

    Would be awesome if you can include this fix in the next release.

    Thanks.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Roger that, will do!

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    The new ACF Extended 0.7.9.9 update is available as pre-release on Github (soon on the WP repository): https://github.com/acf-extended/ACF-Extended

    It includes the fix for your report ??

    Havce a nice day!

    Regards.

    Thread Starter Chris Schrijver

    (@chrisschrijver)

    @hwk-fr Awesome! Thank you!

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Just to let you know that the latest ACF Extended 0.7.9.9.8 version fix this problem. You can download it from the official WP Repository.

    Thanks again for the report!

    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple clone buttons displaying (+ solution)’ is closed to new replies.