The tickets for each event can be generated and issued in three different ways: Email, PDF or both. From the parameters of your events you can define the method that should be used for sending the tickets to the customers.

Depending on what format you choose, the system will parse a different template file that you should find and download from the following directory:
/components/com_vikevents/helpers/

All the names of the template-files used for the PDF format, start with "pdf_". The files are all .php and by default there are two template-files for each format:

  • tmpl_ticket.php - Email format
  • compact_tmpl_ticket.php - Email format
  • pdf_tmpl_ticket.php - PDF format
  • pdf_compact_tmpl_ticket.php - PDF format

By opening the template-file(s) that is being used for the generation of the tickets for your event, you will find mostly HTML code that can be customized however you want. Please notice that all the code will be parsed and converted to PDF layers so the compatibility will not be the same as for a web-browser. For example, it is recommended to rather use a STYLE attribute for your tags, rather than a STYLE tag to declare the layout of certain classes. Also, it is suggested to use HTML Attributes rather than CSS Styles to apply for example, the width or the color of a certain tag.

The Template-File "compact" for the PDF format supports some PHP Constants for defining certain properties such as Margins, Number of Tickets per Page, Page Format, Page Orientation etc... by opening the file pdf_compact_tmpl_ticket.php you will find some PHP comments at the very top of the page that you can change however you want to adjust the layout of the tickets to fit your needs.

Last Update: 2015-07-07 14:08
Helpful?
This site uses cookies. By continuing to browse you accept their use. Further information