Customizing Ticket Templates

Note

This article refers to TouchPoint’s Ticketing platform. See the Ticketing in TouchPoint help article for more information.

You can create tickets and then customize the code to create different versions for various events and venues. To add the code for the default Ticket Template, navigate to Administration > Special Content > Text. Create a file named TicketTemplate, paste the code below, then click Save.

Tip

You may find it helpful to create a ticket in the Special Content > HTML Content tab using the WYSIWYG editor, so you can view the resulting image. You must then copy the source code into a Text file in order for it to work with Ticketing.

Default TicketTemplate Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
<table border="1" cellpadding="1" cellspacing="1" style="height:150px;width:600px;page-break-inside:avoid;">
    <tbody>
        <tr>
            <td>
            <div><img src="{qrcode}" /></div>
            <p>{ticketlabel}</p>
            </td>
            <td>
            <center>{church}<br />
            {eventname}<br />
            {eventdate}<br />{venue}</center>
            </td>
            <td>{eventdate}</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>Section: {section}</td>
            <td>{seatlabel}</td>
        </tr>
    </tbody>
</table>

Sample Ticket Template

https://i.tpsdb.com/TicketTemplateGeneric.jpg
https://i.tpsdb.com/TicketSample.jpg

Create other templates based on the default TicketTemplate code. Save with unique names. Designate which ticket template you are using on the Registration > Registration subtab of a Ticketing Involvement in the Advanced Setup section by typing in the exact name of the Text file.

Email Replacement Codes available for tickets

  • {church} Church Name
  • {venue} Venue Name
  • {section} Section
  • {row} Row
  • {seat} Seat
  • {ticketlabel} Meeting ID - Section - Row - Seat
  • {seatlabel} Section - Row - Seat
  • {eventname} Involvement Name
  • {eventdate} Meeting Date & Time
  • {MeetingDateTime} Meeting Date & Time
  • {barcode} Barcode
  • {qrcode} QR Code


Latest Update 4/5/2022

Added links to other articles