MTK is a small set of ready-to-use component, area and page templates, that supplies the basic functionality that is common across websites. The templates are designed to be flexible, with dialog options that enable them to fit many use cases without development. The MTK templates can be used "as is", modified to suit your projects needs, or simply used as helpful examples of best-practice Magnolia templating. The MTK is intentionally small so that developers can learn it quickly. CSS is kept to a minimum to enable developers to easily integrate their own CSS or frameworks.
In addition to the standard maven module, the MTK is also available as a light module for easy access to the files: mtk_1.2.3.zip
To experiment with MTK or Magnolia templating, put the unzipped MTK light module in Magnolia's resource directory, and make changes to the files. Due to Magnolia's resource loading mechanism, these files will be used instead of the ones in the Java classpath provided by the Maven module.
Maven is the easiest way to install the module. Add the following dependencies to your bundle:
<dependency> <groupId>info.magnolia.templating</groupId> <artifactId>magnolia-templating-kit</artifactId> <version>1.5.4</version> </dependency>
<dependency> <groupId>info.magnolia.templating</groupId> <artifactId>magnolia-templating-essentials-models</artifactId> <version>1.5.4</version> </dependency>
Pre-built jars are also available for download. See Installing a module for help.
See Templates in MTK