Problem with clonable group?

Support MB Settings Page Problem with clonable group?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #6036
    HazmiHazmi
    Participant

    Hi,

    i would ask, if there is a bug with clonable group on setting page. Here is sample code:

    With this code, on admin site i get only one input (type "text" with id "mb_top_posts") - so not textarea, no checkbox field.

    $prefix = 'mb_';
    
    $meta_boxes[] = array(
    		
    		'id' => 'top_i',
    		'title' => ' ',
    		'settings_pages' => 'top-positions',
    		'tab' => 'position_i',
    
    		'fields' => array(
    			array(
    				'id' => "{$prefix}top_posts",
    				'type' => 'group',
    				'clone' => true,
    				'fields' => array(
    					array(
    						'name' => __('Perex','textdomain'),
    						'id' => "{$prefix}perex",
    						'type' => 'textarea'
    					),
                                           array(
    						'name' => __('Hide',TEXTDOMAIN),
    						'id' => "{$prefix}hide",
    						'type' => 'checkbox'
    					),
    				)
    			)
    		)
    
    	);

    (WP 4.7.5, latest metabox plugin and addons)

    #6037
    Anh TranAnh Tran
    Keymaster

    We have fixed the bug with clone Groups for WP 4.7.5. Please update to the latest version (1.2.4) of the Group and Meta Box.

    Don't forget to clear browser cache!

    #6040
    HazmiHazmi
    Participant

    Hi,

    v1.2.4 fixed problem with show cloned group (fields), but another problems are here:

    - i have no chance to delete cloned groups
    - is there a way to remove white background, which is under Group field? (on Settings page, where is no background with param "style=>no-boxes" it looks bad :/)

    #6046
    HazmiHazmi
    Participant

    Please give me a feedback.. (and date to solving this issue)

    #6047
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    We're working on that. We'll fix the CSS for the background and the delete button in cloned groups. Probably will done that early next week.

    #6066
    HazmiHazmi
    Participant

    Hi, i'm sorry, but i really need this addon to work properly .. without this a don't see a sense for byuing it..

    #6070
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    Please give us some hours to fix. Today or latest tomorrow we'll update the extension.

    Just a small question: while testing with your code, we see the remove clone button works. Can you post your full code here to test?

    #6073
    Truong GiangTruong Giang
    Participant

    Hi Hazmi,
    I resolved CSS problem. But I can't meet the problem when deleting cloned group. Below is the video about my testing scenario.

    https://youtu.be/xRvHVoRmru0

    #6074
    HazmiHazmi
    Participant

    Hi, i tested my code with "columns" extension ... and i noticed, that a i'm posted here without it :/

    Your video is fine, so i inspected my code again and find, where the problem is. I have 2 columns, but my setting was "4" for one column .. with this, the setting page has unexpected behavior.

    So i'm sorry with this and thank you for your fix with (no) background - can i upgrade the extension now?

    #6081
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi, new versions for MB Settings Page is available. Please update. Let us know if you see any problem.

    Thanks

    #6082
    HazmiHazmi
    Participant

    OK, thank you..

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Problem with clonable group?’ is closed to new replies.