Chapter 5. Advanced topics

In this chapter we will discuss advanced topics such as editing templates or how different stuff works in Matukio.

Replacements for Templates

This list shows all possible replacements / place holders (Except the dynamic ones generated on the field name of your booking fields) for the templates, most are pretty self explaining.

  • MAT_NR - In lists a counter (e.g. booking / event), starting at one

  • MAT_DATE - The current date without time

  • MAT_SIGNATURE - The signature you can configure in the Matukio settings

  • Event data

  • MAT_EVENT_SEMNUM - The event number (e.g. 42/14)

  • MAT_EVENT_NUMBER - Alias for MAT_EVENT_SEMNUM (e.g. 42/14)

  • MAT_EVENT_CATID - The category id

  • MAT_EVENT_CATEGORY - The category text (t)

  • MAT_EVENT_TITLE - The event title (t)

  • MAT_EVENT_TARGET - The target group of the event (if any)

  • MAT_EVENT_SHORTDESC - The short description of the event

  • MAT_EVENT_DESCRIPTION - The long description of the event (careful with that one, because it can contain HTML which breaks your templates etc.)

  • MAT_EVENT_PLACE - The location where the event takes place (supports also locations)

  • MAT_EVENT_LOCATION - An alias for MAT_EVENT_PLACE

  • MAT_EVENT_TEACHER - The tutor / teacher

  • MAT_EVENT_TUTOR - An alias for MAT_EVENT_TEACHER - The tutor / teacher

  • MAT_EVENT_ORGANIZER_ID - The user id of the organizer which manages the event

  • MAT_EVENT_ORGANIZER - The name of the organizer which manages the event

  • MAT_EVENT_FEES - The formated fees (including currency symbol) for the event

  • MAT_EVENT_MAXPUPIL - The maximum number of available seats

  • MAT_EVENT_BEGIN - The formated event begin date

  • MAT_EVENT_END - The formated event end date

  • MAT_EVENT_BOOKED - The formated event closing date

  • MAT_EVENT_GMAPLOC - The Google Maps location

  • MAT_EVENT_WEBINAR - Is the event an webinar (just returns 1 or 0)

  • MAT_EVENT_NRBOOKED - The maximum number of bookable places per booking

  • MAT_EVENT_CREATED_BY - The Joomla user id of the person who created the event

  • MAT_EVENT_MODIFIED_BY - The Joomla user id of the latest person who modified the event

  • MAT_EVENT_CREATED - The formated date when the event was created

  • Custom event specific fields: (The title and the hint)

  • MAT_EVENT_CUSTOM10 MAT_EVENT_CUSTOM11 MAT_EVENT_CUSTOM12 MAT_EVENT_CUSTOM13 MAT_EVENT_CUSTOM14 MAT_EVENT_CUSTOM15 MAT_EVENT_CUSTOM16 MAT_EVENT_CUSTOM17 MAT_EVENT_CUSTOM18 MAT_EVENT_CUSTOM19 MAT_EVENT_CUSTOM20 MAT_EVENT_CUSTOM1 MAT_EVENT_CUSTOM2 MAT_EVENT_CUSTOM3 MAT_EVENT_CUSTOM4 MAT_EVENT_CUSTOM5 MAT_EVENT_CUSTOM6 MAT_EVENT_CUSTOM7 MAT_EVENT_CUSTOM8 MAT_EVENT_CUSTOM9 MAT_EVENT_CUSTOM10HINT MAT_EVENT_CUSTOM11HINT MAT_EVENT_CUSTOM12HINT MAT_EVENT_CUSTOM13HINT MAT_EVENT_CUSTOM14HINT MAT_EVENT_CUSTOM15HINT MAT_EVENT_CUSTOM16HINT MAT_EVENT_CUSTOM17HINT MAT_EVENT_CUSTOM18HINT MAT_EVENT_CUSTOM19HINT MAT_EVENT_CUSTOM20HINT MAT_EVENT_CUSTOM1HINT MAT_EVENT_CUSTOM2HINT MAT_EVENT_CUSTOM3HINT MAT_EVENT_CUSTOM4HINT MAT_EVENT_CUSTOM5HINT MAT_EVENT_CUSTOM6HINT MAT_EVENT_CUSTOM7HINT MAT_EVENT_CUSTOM8HINT MAT_EVENT_CUSTOM9HINT

  • Booking data (replacements)

  • MAT_BOOKING_NAME - This placeholder contains the name of the participant (also in the new booking form, as long you haven't changed the bookingfields first- and lastname)

  • MAT_BOOKING_EMAIL - This contains the name of the participant (also in the new booking form, as long you haven't changed the bookingfields first- and lastname)

  • MAT_BOOKING_ALL_DETAILS_HTML - A helpful placeholder containing almost all booking details in a nice table (except event specific ones) -> HTML email's

  • MAT_BOOKING_ALL_DETAILS_TEXT - A helpful placeholder containing almost all booking details in a nice text table (With tabs) -> NON-HTML email's

  • MAT_CSV_BOOKING_DETAILS - A helpful placeholder containing almost all booking details in a nice text table (With tabs) -> CSV Export

  • MAT_BOOKING_DETAILPAGE - An HTML-Link with the (translated) text "Your booking details page" for the participant to see his personal booking management area

  • MAT_BOOKING_DETAILPAGE_URL - The URL where the participant can the her / his booking details and more

  • MAT_BOOKING_EDIT - An HTML-Link with the (translated) text "Edit your booking" for the participant to edit her / his booking

  • MAT_BOOKING_EDIT_URL - The URL where the participant can edit her / his booking

  • MAT_BOOKING_ID - The booking Id (the real id in the database, in most cases you want to use MAT_BOOKING_NUMBER instead)

  • MAT_BOOKING_NUMBER - The booking number (Hashed unique booking id)

  • MAT_BOOKING_USERID - The Joomla user id (if any) of the participant

  • MAT_BOOKING_USERNAME - The Joomla username (if any)

  • MAT_BOOKING_CERTIFICATED - Is the participant certificated (Yes / No)

  • MAT_EVENT_BOOKINGDATE - The formated date of the booking

  • MAT_EVENT_UPDATED - The formated update date

  • MAT_BOOKING_COMMENT - The (intern) comment to the booking (don't mix that up with the dynamic comments field MAT_BOOKING_COMMENTS)

  • MAT_BOOKING_NRBOOKED - The number of booked places

  • MAT_BOOKING_UUID - The unique booking id (25 digits - alphanumeric - used for payments and the booking details page)

  • MAT_BOOKING_PAID - Is the booking paid or not? (translated Text)

  • MAT_BOOKING_PAYMENT_METHOD - The payment method (Based on the payments plugin title)

  • MAT_BOOKING_PAYMENT_METHOD_RAW - The raw name of the payment plugin (not the title like above)

  • MAT_BOOKING_PAYMENT_NET - The net value of the booking (excluding taxes)

  • MAT_BOOKING_PAYMENT_TAX - The taxes (for example vat) of the booking

  • MAT_BOOKING_PAYMENT_GROSS - The gross value of the booking (including taxes)

  • MAT_BOOKING_PAYMENT_BRUTTO - Alias for MAT_BOOKING_PAYMENT_GROSS

  • MAT_BOOKING_PAYMENT_STATUS - The payment status code

  • MAT_BOOKING_PAYMENT_PLUGIN_DATA - The raw result of the payment processor

  • MAT_BOOKING_COUPON_CODE - The used coupon code (if any)

  • MAT_BOOKING_STATUS - The booking status as text (pending, participation assured, waitlist, archived, deleted etc.)

  • QR and Bar-Codes

  • MAT_BOOKING_QRCODE - The generated QR-Code image of the booking number

  • MAT_BOOKING_BARCODE - The generated Barcode image of the booking number

  • Custom event specific fields

  • MAT_BOOKING_CUSTOM10 MAT_BOOKING_CUSTOM11 MAT_BOOKING_CUSTOM12 MAT_BOOKING_CUSTOM13 MAT_BOOKING_CUSTOM14 MAT_BOOKING_CUSTOM15 MAT_BOOKING_CUSTOM16 MAT_BOOKING_CUSTOM17 MAT_BOOKING_CUSTOM18 MAT_BOOKING_CUSTOM19 MAT_BOOKING_CUSTOM20 MAT_BOOKING_CUSTOM1 MAT_BOOKING_CUSTOM2 MAT_BOOKING_CUSTOM3 MAT_BOOKING_CUSTOM4 MAT_BOOKING_CUSTOM5 MAT_BOOKING_CUSTOM6 MAT_BOOKING_CUSTOM7 MAT_BOOKING_CUSTOM8 MAT_BOOKING_CUSTOM9

  • Invoice data

  • MAT_INVOICE_NUMBER - The automatically generated invoice number

  • Additional place holders

  • MAT_BANK_TRANSFER_INFORMATIONS - Your bank informations