Custom Fields
Re-Envisioned
Support MB Blocks Cloneable group inside MB Block example

This topic contains 6 replies, has 2 voices, and was last updated by  Alex 2 weeks ago.

  • Creator
    Topic
  • #16680
    Resolved
    Alex
    Participant

    Hello,

    I’ve tried searching for info on this in support topics and docs, but couldn’t find anything. Is it possible to provide a code example of creating a block with a cloneable group of fields? This is my implementation, which doesn’t work (creates a single text input with id btn_group): https://pastebin.com/jMAcY5t9

    What am I doing wrong? Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #16745

    Anh Tran
    Keymaster

    Hi Alex,

    Your code works quite well with me. Here is the video that I recorded. And here is the code I used to render the group.

    #16747

    Alex
    Participant

    Thanks for your detailed response, Anh. Unfortunately still not working for me.

    I have disabled all plugins except Metabox and MB Blocks. I have also removed everything from my functions file except the above code to register the block.

    I still end up with this (a single text input field): https://www.dropbox.com/s/7n7udh33841yg9g/Screenshot%202019-10-30%2015.16.09.png?dl=0

    I will setup a test instance for you to access and send you the details as soon as it is ready.

    #16748

    Alex
    Participant

    Hi Anh,

    I’ve sent you an email with access details to test instance.

    #16753

    Anh Tran
    Keymaster

    Hi Alex,

    I got the access details. And I found that you haven’t installed the Meta Box Group extension. I installed it for you and it works.

    #16755

    Alex
    Participant

    Apologies! I didn’t realise it required an extension. I will purchase it shortly.

    #16759

    Alex
    Participant

    Working as it should with purchased extension. My bad. Sorry for wasting your time on this. This can be marked as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.