A woman pointing at template code on a laptop with a colleague

Training

Terminalfour Handlebars Custom Helpers

Extend your layouts with a versatile templating engine designed to simplify the process of creating dynamic content.

Duration
1 day

I'm interested

I'm interested

Privacy policy

Course details

Goal

The goal of this course is to enable developers with the knowledge and skills to create, manage, and implement Custom Handlebars Helpers within the Terminalfour platform. Participants will learn how to extend Terminalfour’s Handlebars capabilities using Custom Helpers, enabling more dynamic and flexible content rendering within layouts. Through guided examples and practical exercises, attendees will gain hands-on experience writing and deploying Custom Helpers to streamline content management and enhance site functionality.

Audience

This course is for experienced developers who have completed Implementer training (formerly known as Web Developer training) or have equivalent knowledge of Terminalfour version 8. Participants should also have a basic understanding of Handlebars - either through our Handlebars documentation or from the Handlebars modules in the Advanced Implementer training.

A solid understanding of JavaScript is required.

Content covered

  • How to set up and create Custom Helpers
  • Using named and unnamed parameters
  • Exception handling within Custom Helpers
  • Escaping JSON
  • Trimming Strings
  • String search basics
  • Applying different behaviors to your Custom Helpers
  • Working with dates (date formatting, date ranges)
  • Number formatting
  • Embedding YouTube videos
  • Creating responsive text
  • The IPublish API
  • Generating reports from webpage content (using the IPublish API)

Course Code

T205