Hello, we are looking for a hook action to do the following:
On the page where we scan the barcode. Once the barcode is scanned at it is displaying the registrant’s information. We would also like to have a link to print the ticket.
The way we are using it, is we are changing the Ticket Page template to our ID Page custom template. Ideally we could have an option for a ticket and a badge page. However, if we can just have an action hook, to add the ticket link to the barcode scanning page would be great.
While there are action hooks available on that page, an action hook alone will not have the data readily available to add a ticket link.
Instead, you can use a filter hook to pull in a modified version of the scanner_attendee_details.template.php.
So you can make a copy of that template (from the barcode scanning add-on) add your code for adding a ticket link, then you can use the FHEE__EEH_Template__display_template__template_path filter hook to load your custom template instead of the default template.
Viewing 1 reply thread
The support post ‘EE4: Barcode Scanning (Printing ID Badge)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.