Problem with clonable group?
Support › MB Settings Page › Problem with clonable group?
- This topic has 10 replies, 3 voices, and was last updated 7 years, 10 months ago by
Hazmi.
-
AuthorPosts
-
June 9, 2017 at 5:01 PM #6036
Hazmi
ParticipantHi,
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)
June 9, 2017 at 5:26 PM #6037Anh Tran
KeymasterWe 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!
June 9, 2017 at 6:25 PM #6040Hazmi
ParticipantHi,
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 :/)June 10, 2017 at 2:15 AM #6046Hazmi
ParticipantPlease give me a feedback.. (and date to solving this issue)
June 10, 2017 at 8:15 AM #6047Anh Tran
KeymasterHi 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.
June 14, 2017 at 4:45 PM #6066Hazmi
ParticipantHi, i'm sorry, but i really need this addon to work properly .. without this a don't see a sense for byuing it..
June 15, 2017 at 11:09 AM #6070Anh Tran
KeymasterHi 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?
June 15, 2017 at 11:33 AM #6073Truong Giang
ParticipantHi Hazmi,
I resolved CSS problem. But I can't meet the problem when deleting cloned group. Below is the video about my testing scenario.June 15, 2017 at 12:54 PM #6074Hazmi
ParticipantHi, 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?
June 16, 2017 at 2:55 PM #6081Anh Tran
KeymasterHi Hazmi, new versions for MB Settings Page is available. Please update. Let us know if you see any problem.
Thanks
June 16, 2017 at 3:15 PM #6082Hazmi
ParticipantOK, thank you..
-
AuthorPosts
- The topic ‘Problem with clonable group?’ is closed to new replies.