Installation 

Requirements 

  • PHP 8.2 - 8.5
  • TYPO3 13.4 LTS - 14.3 LTS

Installation 

Require the extension via Composer (recommended):

composer require cpsit/typo3-handlebars
Copied!

Or download it from the TYPO3 extension repository.

Site sets 

The extension provides two site sets that can be included in the site configuration or any other site set.

  • cpsit/handlebarsHandlebars base

    • Wires plugin.tx_handlebars.view.templateRootPaths and plugin.tx_handlebars.view.partialRootPaths from the site settings handlebars.view.templateRootPath and handlebars.view.partialRootPath.
    • Include this set for every site that renders Handlebars templates.
  • cpsit/handlebars-content-elementHandlebars content elements

    • Sets lib.contentElement = HANDLEBARSTEMPLATE, replacing the default Fluid base object used by EXT:fluid_styled_content.
    • Include this set when all content elements should use Handlebars rendering by default.
config/sites/<my-site>/config.yaml
dependencies:
  - cpsit/handlebars
  - cpsit/handlebars-content-element
Copied!