Events Made Easy Forums How do I … show related family members

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #64648
    501riders
    Participant

    Hey Franky…

    I’m trying to create a profile template for a memebership type. During account creation, I used the #_FAMILYMEMBERS tag to let the user add related family members. Is there a way to show this info on the [eme_person] output?

    Thanks.

    #64649
    Franky
    Keymaster

    While the initial idea is for members, I’ll also allow #_FAMILYCOUNT and #_FAMILYMEMBERS for people placeholders. See this changeset (ignore the jquery change, it is unrelated):
    http://plugins.trac.wordpress.org/changeset/2786989

    #64651
    501riders
    Participant

    Awesome! Thank you. The #_FAMILYCOUNT works great, but nothing seems to be pulling form #_FAMILYMEMBERS. Looking at the compiled code, it gets to displaying

    <table style=”border-collapse: collapse;border: 1px solid black;” class=”eme_dyndata_table”></table>

    then stops. There are 2 family members on the profile im testing with, so it’s not a lack of data…

    #64652
    501riders
    Participant

    Hey, imagine that, I fixed it. On line 680 it should be

    $related_person=eme_get_person($familymember_person_id);

    not $related_person=eme_get_person($familymember_person_ids);

    WOOHOO! Thanks for the help, as always

    #64653
    Franky
    Keymaster

    yes, sorry about the typo 🙂

    #64654
    501riders
    Participant

    It happens. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.