bit3/contao-twig

This package is abandoned and no longer maintained. The author suggests using the contao-community-alliance/contao-twig package instead.

Twig integration for Contao OpenSource CMS

Installs: 8 743

Dependents: 10

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 6

Type:contao-module

1.11 2014-09-19 09:20 UTC

README

This module provide twig support for Contao. To use twig instead of the contao engine, just use the TwigFrontendTemplate or TwigBackendTemplate class.

For content elements, you can use the TwigContentElement class, and for modules the TwigModule class. These basic classes allready uses the Twig*Template classes.

You have to suffix your templates with .twig, look at the examples in the templates directory.

Dependencies