Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,651 through 1,665 (of 3,958 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    I got it. Can you try differentiate the relationships fields by ID? Their IDs are always {$rel_id}_from or {$rel_id}_to.

    in reply to: POST meta fields to tags #12057
    Anh TranAnh Tran
    Keymaster

    Hi, let me check that again. The code for term and post are very similar.

    in reply to: WYSIWYG editor going blank on Group reorder #12056
    Anh TranAnh Tran
    Keymaster

    Thanks for your feedback. Let me check it.

    Anh TranAnh Tran
    Keymaster

    Hi Clayton,

    Sorry for the delay. Are you using MB Rest API or you're going to write a custom endpoint?

    I'm not sure how you loop through fields. Can you give more details on that?

    Anh TranAnh Tran
    Keymaster

    Hi Clayton,

    Unfortunately, the group field saves all values of its children into 1 array, and bypass the behavior of the taxonomy field. If you want to set post terms, then it's a connection between post and terms. Therefore, a top-level taxonomy makes sense, e.g. don't put it inside a group.

    in reply to: Installed AOI - Can't see anything #12050
    Anh TranAnh Tran
    Keymaster

    Thanks a lot for your investigation. LearnPress is bundling Meta Box inside. So, I think the problem is the bundled version is old and not compatible with the AIO extension. The old version doesn't create the menu for all Meta Box extensions.

    Please contact LearnPress and ask them to upgrade the version of Meta Box. I'll contact them as well.

    in reply to: MB Admin Columns and 'timestamp' => true, #12033
    Anh TranAnh Tran
    Keymaster

    Hi Scherjon,

    Thanks for your feedback. This is a bug of Meta Box and I've just fixed on Github. Please download and use it.

    PS: Currently, the format output is the format that shown in the date picker. We're working on updating the datetime field to use one format when saving and another when displaying. We'll update the plugin when it's done.

    in reply to: POST meta fields to tags #12032
    Anh TranAnh Tran
    Keymaster

    Hi,

    I'm not sure what your field type is. So depending of the field type, we have different solution.

    For taxonomy field, as the plugin doesn't store value in post meta, there's no need to submit value via meta_box field. Instead, after creating tags, you should send another request to set post terms, e.g. set the created tags as a term for the post.

    For taxonomy_advanced field, the value saved in the DB is the term IDs (separated by commas), not term slugs. So I think you still need to send 2 requests: one for creating tags and gets their IDs, one for adding those IDs to post meta via meta_box.

    I hope that makes sense.

    in reply to: Installed AOI - Can't see anything #12031
    Anh TranAnh Tran
    Keymaster

    Hello,

    Did you install and activated Meta Box from Plugins > Add new? The AIO plugin requires Meta Box to work.

    If that doesn't work, please try re-install the AIO plugin. Maybe something broke while installing.

    in reply to: MB Elementor Integrator Displays "Array" for Clone Fields #12030
    Anh TranAnh Tran
    Keymaster

    Hi guys,

    I've fixed this bug in the version 1.0.1. Please update.

    Regarding the group field, especially cloneable group, as the content of each field in the group can have different layout, we haven't figured out a good way to output its value.

    in reply to: MB Elementor Integrator Displays "Array" for Clone Fields #11949
    Anh TranAnh Tran
    Keymaster

    Hi Donna,

    What is your field type? Is that a group or just a simple text field?

    Anh TranAnh Tran
    Keymaster

    Hi Dan,

    For this purpose, yes, coding is required. We're updating the Builder to make it supports more features in the Meta Box and extensions. But for now, it's not there yet.

    in reply to: Displaying specific custom fields in post admin list? #11936
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    Is that similar to MB Admin Columns?

    Anh TranAnh Tran
    Keymaster

    Hi,

    You can get all fields registered by parsing the meta boxes' configurations. All of the meta boxes' configurations can be access via rwmb_get_registry( 'meta_box' )->all().

    in reply to: Getting label value of sub-field #11934
    Anh TranAnh Tran
    Keymaster

    It's great that you found a solution. I think the rwmb_get_field_settings() function can help a little. It gives you the group field settings and then you can get the options for sub-field.

    $group = rwmb_get_field_settings( 'group' );
    $sub_field = $group['fields'][0];
    $group_value = rwmb_meta( 'group' );
    $sub_field_value = $group_value[0]['sub_field'];
    
    $label = $sub_field['options'][$sub_field_value];
Viewing 15 posts - 1,651 through 1,665 (of 3,958 total)