0

I installed the "QR Code Checkin" Extension in CiviCRM 5.58.1 with Drupal. When I create a new event, I can activate "enable qr code token for this event". Now, I want to update my event registration confirmation email text (custom System workflow message template for events): I want to check if the QR Code token is enabled for this event, and if yes, include the QR Code. So I think I need to access the "enable qr code token for this event" variable via the API (Smarty).

Does anybody know how I can access this variable via API/Smarty? Or where the QR Code Extension stores this variable in the database? I checked in the table civicrm_event but couldn't find this variable. There is no other table having sth like "token" in the name except "payment token". Any hint is appreciated.

1

1 Answer 1

0

I don't know where it is in the database, but on the Online registration tab of each event after installing the module I now have that selection and the token is available to use in emails.

screen shot showing Enable QR code

QR code token in Mosaico template

3
  • One note - we had to make a change to the extension to fix the URL for updating an Attendee status from Registered to Attended. (Next thing after getting the code to show up). github.com/progressivetech/net.ourpowerbase.qrcodecheckin/…
    – kathc
    Commented May 3, 2023 at 23:49
  • Yeah, the token is available in some emails, but it seems that this is not the case in System workflow message templates
    – emma
    Commented May 4, 2023 at 9:36
  • I used Mosaico templates to include the token (with the Mosaico message templates extension) civicrm.org/extensions/mosaico-message-templates.
    – kathc
    Commented May 5, 2023 at 12:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.