home

Browse documentation

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

Configure a document template to use the Twig template system

If necessary, staff can use template variables of the Twig template system with a document template.

To configure a document template to use the Twig template system, do this procedure.
  1. Select Admin.
    The Admin tab
  2. In the settings list, select Templates.
    The Templates setting in the settings list
  3. Select Document Templates.
    The Document Templates setting
    ezyVet shows the configured document templates of your site.
  4. Find and select the applicable document template.
    ezyVet shows the settings of the template.
  5. Select Use New Templating Engine.
    The Use New Templating Engine setting
  6. Add the applicable Twig template variables.
    Note: If the template has template variables from the classic template system, you must remove them. You cannot use Twig template variables and classic template variables at the same time in one template.
  7. Select Save.
    The Save button
    ezyVet shows a confirmation message:

The document template uses the Twig template system.