Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,616 through 3,630 (of 3,702 total)
  • Author
    Posts
  • in reply to: Image in group #1042
    Anh TranAnh Tran
    Keymaster

    Hi Flikweert,

    I understand your concern, but there's no way to handle image upload in the group for now.

    But you can use another way to achieve that by using file_input field. It works similar to all image fields (can Browse or Upload images), but doesn't have preview. It's not 100% perfect for your needs, but it works for now.

    in reply to: If is parent? #1016
    Anh TranAnh Tran
    Keymaster

    FYI, the latest version of Meta Box Show Hide now supports check for is_child. Please try it out!

    in reply to: Disable rwmb_meta() on Search Results #1011
    Anh TranAnh Tran
    Keymaster

    Hi, there's a way to change the returned value of rwmb_meta which can be useful for your case.

    The filter is rwmb_meta also and we can do like this:

    add_filter( 'rwmb_meta', 'prefix_meta', 10, 4 );
    function prefix_meta( $meta, $key, $args, $post_id )
    {
        if ( ! is_search() )
            return $meta;
    
        // If this is search page, do whatever you want with the returned value $meta
        $meta = '';
        return $meta;
    }
    in reply to: Missing: MB Conditional Logic Plugin #984
    Anh TranAnh Tran
    Keymaster

    FYI, the Conditional Logic has just been released. Please redownload the Core Extensions Bundle to get it.

    If you have any problem using the new extension, please let us know in the support forum.

    Thanks and enjoy!

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

    Thanks for your replies. Let me check it.

    in reply to: Missing: MB Conditional Logic Plugin #970
    Anh TranAnh Tran
    Keymaster

    Hi daveheslop,

    This plugin is under development and will be available soon. When it's available, it will be included in the Core Extensions Bundle and you can download it from your account page.

    in reply to: plupload_image as URL instead of ID #963
    Anh TranAnh Tran
    Keymaster

    Yes, of course. You can use the following code to output the full URL of an image:

    $image = rwmb_meta( 'field_id', 'type=image' );
    echo $image['full_url'];

    For more information, please read this documentation.

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

    Hi again,

    FYI, this feature has just been added to the latest version 4.5.4. Please update the plugin to use it.

    Thanks for your idea and enjoy the plugin!

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

    FYI, this feature is now available in version 4.5.4. Please update the plugin to use it.

    Enjoy!

    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 ๐Ÿ™‚

Viewing 15 posts - 3,616 through 3,630 (of 3,702 total)