Cloneable group inside MB Block example

Support MB Blocks Cloneable group inside MB Block exampleResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16680
    AlexAlex
    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.

    #16745
    Anh TranAnh 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
    AlexAlex
    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
    AlexAlex
    Participant

    Hi Anh,

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

    #16753
    Anh TranAnh Tran
    Keymaster

    Hi Alex,

    I got the access details. And I found that you haven't installed the MB Group extension. I installed it for you and it works.

    #16755
    AlexAlex
    Participant

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

    #16759
    AlexAlex
    Participant

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.