Token for eventinstance of registration

Created on 11 May 2023, about 1 year ago
Updated 16 June 2023, about 1 year ago

Problem/Motivation

I am processing registrations with models as of the ECA module. Works generally like a charm, but I can't get the event instance isolated from the list the token [registrant:url:args] returns. Appending the sequence number like in other cases doesn't work.

Proposed resolution

Either make instance available as separate token or support isolation like in [registrant:url:args:2]

✨ Feature request
Status

Fixed

Version

2.0

Component

Recurring Events Registration (Submodule)

Created by

πŸ‡©πŸ‡ͺGermany thomas.wardin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @thomas.wardin
  • πŸ‡ΊπŸ‡ΈUnited States owenbush Denver, CO

    Thanks for raising this issue, I am not familiar with ECA and how it works, is there any way you could explain what exactly is happening? Are there any available event instance tokens? Usually tokens are contextual to the underlying entity, so are you trying to access event instance tokens from the registrant entity?

    From what you've said, maybe it would be easier rather than using the url to get at the event instance, if you have something like [registrant:eventinstance:blah] as a way of accessing those tokens?

  • πŸ‡©πŸ‡ͺGermany thomas.wardin

    I have to admit that I did not dig deep enough in the tree as shown by token browser. What I missed was this already existing token:
    [registrant:url:args:value:#] with # being the position in the arguments array.

  • Status changed to Closed: works as designed about 1 year ago
  • Status changed to Needs work about 1 year ago
  • πŸ‡©πŸ‡ͺGermany thomas.wardin

    From the ECA team, I learned that the help text displayed there is originating from this module. The help text for [registrant:url:args] currently suggests [registrant:url:args:#] which obviously should be changed to [registrant:url:args:value:#] with # being the position in the arguments array.

  • @owenbush opened merge request.
  • Status changed to Needs review about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States owenbush Denver, CO

    I've opened a merge request which adds the ability to access tokens from the eventseries and eventinstance associated to a registrant

    For example:

    [registrant:eventinstance:date]

    and

    [registrant:eventseries:title]

    Let me know if this works for your needs.

  • First commit to issue fork.
  • Status changed to Fixed about 1 year ago
  • πŸ‡ΊπŸ‡¦Ukraine podarok Ukraine
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024