By default the extension has two template-files that can be used for the tickets generation: "Standard" and "Compact". You can choose the desired Tickets Template from the parameters of the Event and then select the Type of Tickets that should be generated (Email, PDF or Email + PDF).

However, it is possible to create your own Tickets Template by creating two new PHP files, one for the Email format and one for the PDF format. It is important to create one template file for each type of ticket or your custom tickets template will not work, nor it will be selectable from the parameters of the Event.

It is recommended to create your own Tickets Template by cloning one of the existing Templates, either "Standard" or "Compact". The "Compact" Template provides some useful options for customizing the margins and many other properties so you should probably clone this Template file to create your own version of the Template.
In this case, the two PHP files that should be cloned are the followings:

/components/com_vikevents/helpers/compact_tmpl_ticket.php (for the Email format) - could be cloned as /components/com_vikevents/helpers/mycustom_tmpl_ticket.php

/components/com_vikevents/helpers/pdf_compact_tmpl_ticket.php (for the PDF format) - could be cloned as /components/com_vikevents/helpers/pdf_mycustom_tmpl_ticket.php


At this point you will be able to customize the two PHP files and select the format "mycustom" from the parameters of the Event so that the new Template-Files will be used for the tickets generation.

Last Update: 2015-10-06 11:05
Helpful?
This site uses cookies. By continuing to browse you accept their use. Further information