Templating Language
Creating Custom Event Headers with the Wavecast Templating Language
When organizing an event, it is possible to use a pre-existing event header or designing a unique one that better fits your requirements. For a more tailored approach incorporating the Wavecast Dynamic Templating Language enables the creation of custom event headers that are dynamic and can be re-used. This guide outlines the steps to create a custom header using the Wavecast Templating Language.
Creating a Custom HTML Header
Step 1: Create the Event with a Custom HTML Header
For the event Edit page, Navigate to Pages > Header and set the header to use Custom HTML.
Step 2: Create the HTML Structure and Apply Styles
Your HTML structure serves as the skeleton of your custom header. Here is a simple example that you can modify according to your preferences:
Step 3: Incorporate the Wavecast Templating Language to make it dynamic
To make the event header dynamic, you can use the Wavecast Templating Language. This allows you to insert placeholders that will be replaced with dynamic data, or the use of conditionals.
Template tags available
Variables
[page_sub_title]
The subtitle of the current page.
[page_title]
The title of the current page.
[event_add_to_calendar_link]
Link to add the event to a calendar.
[event_summary]
Summary of the event.
[event_sub_title]
The subtitle of the event.
[event_title]
The title of the event.
[parent_event_add_to_calendar_link]
Link to add the parent event to a calendar.
parent_event_summary]
Summary of the parent event.
[parent_event_sub_title]
The subtitle of the parent event.
[parent_event_title]
The title of the parent event.
[main_event_add_to_calendar_link]
Link to add the main event to a calendar.
[main_event_summary]
Summary of the main event.
[main_event_sub_title]
The subtitle of the main event.
[main_event_title]
The title of the main event.
[sign_up_button]
The sign button for the event.
Conditionals
Last updated