Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 93 total)
  • Author
    Posts
  • in reply to: Display element based on 'post' #1377
    carassiuscarassius
    Participant

    One last question then if you could endulge me, how about working within tabs?

    I have another CPT that is pulling the same contact info, but is displaying it in tabs, the issue is that the visible boxes are appearing in all tabs, not just the contact one?

    https://pastebin.com/eXqMXdCD

    in reply to: Display element based on 'post' #1376
    carassiuscarassius
    Participant

    Thanks Tan, any plan on the horizon for cloned group support then with conditional logic? Or is just to hard that it is never going to happen?

    in reply to: Display element based on 'post' #1373
    carassiuscarassius
    Participant

    Now that I have the customer conditional working, I am trying to configure the products which are a cloneable group

    My code is looking like this, can you have a look and see what is going wrong for me?

    • The first thing, content is not populating but the correct product ID gets assigned
    • The inputs only appear once, and do not clone at all

    https://pastebin.com/D9W7sauW

    in reply to: Display element based on 'post' #1372
    carassiuscarassius
    Participant

    So now the issue is that it has completely broken the layout?

    in reply to: Display element based on 'post' #1371
    carassiuscarassius
    Participant

    got it! I am a dumb arse, its in the 'std' calling the wrong meta!

    in reply to: Display element based on 'post' #1370
    carassiuscarassius
    Participant

    Did you get a chance to login and have a look to see what was going on Tan?

    in reply to: Display element based on 'post' #1366
    carassiuscarassius
    Participant

    Ok, created a live site at jonmather.info and sent you admin access.

    I created two contacts and a test quote

    in reply to: Display element based on 'post' #1365
    carassiuscarassius
    Participant

    Who doesnt like breaking bad! Are you Aussie? That would explain the Perth Boat House ๐Ÿ˜›

    in reply to: Display element based on 'post' #1363
    carassiuscarassius
    Participant

    It is on a local host at the moment, but can try and get a live site working

    in reply to: Display element based on 'post' #1361
    carassiuscarassius
    Participant

    Thanks again for your help!

    in reply to: Display element based on 'post' #1360
    carassiuscarassius
    Participant

    yes they are in the database eg

     meta_id: 943
    post_id: 3722
    meta_key: p52_contact_phone
    meta_value: 123456789
    in reply to: Display element based on 'post' #1358
    carassiuscarassius
    Participant

    so the question becomes, why is it displaying with no value?

    <input type="text" class="rwmb-text" name="p52_quote_phone_3762" id="p52_quote_phone_3762" value="" placeholder="" size="30">

    in reply to: Display element based on 'post' #1357
    carassiuscarassius
    Participant

    here is how I have all my contact metaboxes setup..No boxes appear until I select a name, and then they all become visible under the "New" inputs ie this email

    // Show this email field if match name.
                $meta_box['fields'][] = array(
                    'name'        => 'New Email',
                    'id'      => $prefix . 'email_' . $customer->ID,
                    'type'        => 'text',
                    'std'         => get_post_meta( $customer->ID, 'p52_quote_email', true ),
                    'visible'     => array( $prefix . 'name', $customer->ID ),
                    'columns' => 6
                );

    This is the full contact php

    https://pastebin.com/FSGCMCHJ

    in reply to: Display element based on 'post' #1356
    carassiuscarassius
    Participant

    Ok, the new phone text input area is pulling the correct id: p52_quote_phone_3722 (with 3722 being the select contact post ID), however it is not displaying any value

    in reply to: Display element based on 'post' #1355
    carassiuscarassius
    Participant

    Fixed the errors, but my phone field still doesnt appear

Viewing 15 posts - 61 through 75 (of 93 total)