Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML Wrap
alignright
classmenu

Related topics:

This page explains how to use the Magnolia Templating Kit (MTK), provided as a submodule of the Magnolia Templating Essentials module (MTE) . 

Table of Contents

MTE and MTK

Include Page
DOCS56:_What is the MTEDOCS56:
_What is the MTE

Include Page
DOCS56:_What is MTKDOCS56:
_What is MTK

MTK template definitions

The MTK module includes pagearea and component templates and associated dialogs.

...

Image RemovedImage Added

Areas

The areas are defined in the page template (see the areas node below). Areas typically define what components editors can place inside the area (see the availableComponents node in footer and main areas below).

...

Displays text and an image.

Image RemovedImage Added

ID: mtk:components/link

Creates a link to an internal or external page or a downloadable asset.

Image RemovedImage Added

ID: mtk:components/linkList

Organizes link components into a bulleted, inline or ordered list.

Image RemovedImage Added

Image

ID: mtk:components/image

Displays an image.

Image RemovedImage Added

Teaser

ID: mtk:components/teaser

Promotes another Magnolia page, third-party website or a downloadable asset, inviting the visitor to click for more.

Image RemovedImage Added

HTML

ID: mtk:components/html

Allows editors to enter HTML markup and renders it on the page.

Image RemovedImage Added

Video

ID: mtk:components/video

Adds the possibility to add a video. Videos can be taken from the assets app - or you may just add "embed code" as provided by youtube and other public video repositories.

Image RemovedImage Added

Page intro

ID: mtk:components/pageIntro

A component to render the page properties title and abstract.

Image RemovedImage Added

Navigation

The MTK provides basic navigation to use in your templates. Add subpages to see the navigation.  

Image RemovedImage Added

The navigation is provided by two scripts that use navfn templating functions which are included in the MTE module.

...