Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #60153
    Anonymous
    Inactive

    Hello,

    could also be a ‘How do I’ topic but we will see.

    I have a registration form template that contains the not required request to enter the city and country where a attendee comes from and I use #_CITY in #_COUNTRY to give the chance to enter these data.

    In the email template ‘Contact Person Pending Booking Email Body’ I added From #_RESPCITY in #_RESPCOUNTRY but both values are always empty.

    In the booking details of a person I can see the entered information.

    I have another template to show these person’s location data in a table with the code ‘[eme_if2 tag='#ESC_RESPCITY']#_RESPCITY in #_RESPCOUNTRY[/eme_if2]‘ but it always shows this part even if there is no city given by the user.

    So there are entries like ‘Paris in France’, ‘ in France’ (when no city was entered), ‘Paris in ‘ (when no country was chosen) and ‘ in ‘ (when both wasn’t entered).

    Is there something I don’t get or is there some kind of malfunction?

    #60154
    Franky
    Keymaster

    This seems to work just fine here when I test this …

    #60155
    Anonymous
    Inactive

    Hmm, okay, on the one side good to know. Good for you because your work is fine 🙂 And good to know that I am using the parts as intended. On the other side I have to rewatch all the involved code again to see where I did a mistake. But it won’t be before the weekend to do so.

    Thanks so far.

    #60156
    Franky
    Keymaster

    I just found that the ESC-part simply isn’t coded for people-placeholders … let me fix that asap.
    Edit: this should fix it: https://plugins.trac.wordpress.org/changeset/2129995/
    Edit 2: to explain a bit: in the past, the #_CITY, … placeholders were separate code for attendees, bookings and people. Since people placeholders couldn’t be called directly, it was not needed to allow ESC or URL there. But since then, I rearranged and de-duplicated code, so it all came were it should be (people) but there I simply forgot to add the logic for ESC and URL.

    #60159
    Franky
    Keymaster

    Btw: the latest release contains the fix too, so I’m closing this bug.

    #60167
    Anonymous
    Inactive

    Yes, I can confirm that now everything works as expected without any changes by me.

    Case closed.

    Thank you a lot!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top