Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,631 through 3,645 (of 3,708 total)
  • Author
    Posts
  • in reply to: Grouped Products to Front End Help #956
    Anh TranAnh Tran
    Keymaster

    Hi,

    From the output above, I guess you have a cloned group. So the value returned from rwmb_meta for group field is an array (of clones), each element of which is an array of sub-fields' values.

    To get value for the fields, you can use the code below:

    $sku_key = 'sw_swsku';
    $product_group = rwmb_meta( 'products' );
    foreach ( $product_group as $product )
    {
        $sku_value = isset( $product[$sku_key] ) ? $product[$sku_key] : false;
        echo $sku_value;
    }
    in reply to: If is parent? #948
    Anh TranAnh Tran
    Keymaster

    Hi PixArt, sorry for late reply. I've just back from honeymoon.

    In latest version of Meta Box Show/Hide, there's a new option input_value, which allows us to show/hide meta boxes based on value of an input (select dropdown, checkbox, etc.). You can use that to show/hide meta boxes when it's a parent/child page, like this:

    'input_value' => array(
        '#parent_id' => '', // For child page
        // '#parent_id' => 227, // For parent page, where 227 is parent page ID
    )

    Please let me know if it works for you.

    in reply to: Meta Box Show Hide version 0.2 : Input values #947
    Anh TranAnh Tran
    Keymaster

    Hi gerda, sorry for late reply. I've just back from honeymoon.

    The show/hide should work immediately when you check a checkbox or select a value in a select dropdown, just like other options. Doesn't it work that way for you?

    in reply to: Number of clones #921
    Anh TranAnh Tran
    Keymaster

    FYI, we're adding a new parameter to field called "max_clone" to limit number of clones. The development version is on Github. We're testing and fixing some small issues before releasing new version.

    in reply to: Meta Box Show Hide version 0.2 : Input values #920
    Anh TranAnh Tran
    Keymaster

    Hi gerda,

    I've just updated the documentation with example. Please let me know if it's clear enough.

    Thanks.

    in reply to: Sortable Clone Fields #911
    Anh TranAnh Tran
    Keymaster

    Thank you very much for the idea! Yes, this feature is great and we're going in the same path. We're improving the UI a little and will release it soon ๐Ÿ™‚

    in reply to: Getting admin page errors when using parent id #910
    Anh TranAnh Tran
    Keymaster

    Hi, this bug was reported and fixed in version 0.2.2. Please go to your profile and re-download the plugin.

    Thank you

    in reply to: Meta box not working #884
    Anh TranAnh Tran
    Keymaster

    I got it. I recommend you include the plugin by TGM Activation Class as pointed out in the documentation. The way you include the plugin inside theme was the old way and it might lead to problems as I wrote in the documentation.

    in reply to: Meta box not working #882
    Anh TranAnh Tran
    Keymaster

    Can I see list of active plugins on your site?

    in reply to: Meta box not working #880
    Anh TranAnh Tran
    Keymaster

    Hello,

    I see the meta boxes appear in the screenshot, but not the meta box content. Do you use any CSS or somehow to hide them (like clicking on the meta box title)? I see the content of other meta boxes are hidden as well.

    in reply to: Search by meta value on cloned group fields #861
    Anh TranAnh Tran
    Keymaster

    Due to code architecture, the values of clone field is always saved as a single row in the database. Saving values in multiple rows make users confused with fields having multiple attribute. I wrote a documentation about this here.

    I think there's no ways to query posts directly based on the value of cloned field. Maybe get all posts and filter them via post meta?

    in reply to: โœ…Fix for cloning WYSIWYG groups? #851
    Anh TranAnh Tran
    Keymaster

    Hi, there was a contribution from Remy van Velthuijsen for Meta Box plugin to support cloning wysiwyg. But that's not for group :(. Until now it is still in feature request queue ๐Ÿ™

    in reply to: MB Tabs Not Working in Mutisite #846
    Anh TranAnh Tran
    Keymaster

    There's nothing different between single install and multisite. Can I see the code you use to register meta boxes?

    Anh TranAnh Tran
    Keymaster

    rwmb_meta accepts 3 params. You missed the 2nd one. It should be:

    echo rwmb_meta( 'nsys_footer_left', '', 32 );

    Anh TranAnh Tran
    Keymaster

    Hmm, I forgot to update on Gumroad. If you purchased the plugin via Gumroad (with credit card), please update it now.

    Thanks.

Viewing 15 posts - 3,631 through 3,645 (of 3,708 total)