Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    We do not yet offer integration with the ‘Add New’ user forms in the network admin or site admin areas.

    Thread Starter Javed Usmani

    (@javed-usmani)

    Thanks Scott.
    Please help me in another issue…
    I have two pod center and admission.
    In center pod i have some field centerName, centerHead(wordpress User in dropdown) and CenterMember(wordpress User in dropdown)

    In admission, I am using add_action(‘pods_admin_ui_custom_admission’, ‘pods_admin_ui_admission’, 1, 1); and make a template call using
    echo pods( ‘admission’ )->find( $params )->template( ‘admission’ );
    And showing all Field in manage admission screen.

    Now i want to get all the centerMember in admission template based on centerName, I have centerName How can i get all centerMember in admission Template.

    Thanks In Advanced!!!!!

    Plugin Contributor Josh Pollock

    (@shelob9)

    If I understand you correctly, centerMember is a relationship field in admission. If this is correct, you will need to open php tags in your template to get its value. It would look something like this

    <?php
    $members = $obj->field( centerMember.ID );
    foreach ( $members as $member ) {
    //output here.
    }
    ?>

    For your output you will probably want to use get_user_meta( $member, 'user_nicename', true ); but that will depend on your specific needs.

    I hope this helps and I am understanding your needs correctly. Please let me know if I am not or if you need any other help. If so, Scott or I will be happy to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User Extend Problem’ is closed to new replies.