MTE module

Edition CE

License

MLA, GPL

Issues

MTE

Maven site

MTE

Latest

2.0

Magnolia Templating Essentials module (MTE) consists of four submodules: two templating kits that use Magnolia 6 and Magnolia 5 UI dialogs respectively, templating function libraries and imaging support. MTE is front-end framework agnostic, which means you can integrate it with any modern framework or create your own templating kit.

Submodules

MTE consists of the following submodules:

  • magnolia-templating-kit-2 (MTK2): Templates that you can use in your projects as is or build on. See MTK module.

  • magnolia-templating-essentials-models: Templating functions and a page template definition class.

  • magnolia-templating-essentials-imaging: Imaging functionality for templating. Required when using a rendition of an asset, such as different sized variations of an image.

  • magnolia-templating-kit (MTK): The same templates used in MTK2 with Magnolia 5 UI dialogs. Use this module if you work with the Magnolia 5 UI Pages app or decorate/inherit MTK dialogs.

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-kit-2</artifactId>
  <version>2.0</version>
</dependency>
<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-essentials-models</artifactId>
  <version>2.0</version>
</dependency>
<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-essentials-imaging</artifactId>
  <version>2.0</version>
</dependency>
<dependency>
  <groupId>info.magnolia.templating</groupId>
  <artifactId>magnolia-templating-kit</artifactId>
  <version>2.0</version>
</dependency>
Related topics
Feedback