Include elements

The Include element could be seen as a kind of flexible copy and paste function. By creating an include element on a given page you can integrate a content element of any kind already existing on another page with all attributes such as CSS style. The output on the front end will be identical to the output of the original content element on its page. The content element to be displayed via the include element can be chosen in a drop-down menu containing all content elements used on the entire website.

Article

The include element Article includes the full content of the selected article. The following example includes the article Slider.

Content element

The include element Content element includes the full content of the selected content element. The following example includes the lead text from Text elements.

You use text elements to include different types of text content on your page.
Contao offers special elements that are optimized for management in the back-end and deliver correct output in the front end. In the following paragraphs the characteristics of the individual element types are described and explained.

Form

The include element Form includes any form from the form generator. The following example includes the Contact form.

This is a mandatory form field (*) and the input is validated on submit.

This is an optional help text that is associated with the form field.

Explanation
This is an optional information text within the form that adds further text content here.

Bitte addieren Sie 7 und 5.

Module

The include element Module includes any front end module. The following example includes the Search engine module.

Comments

The include element Comments adds a comment form and the comments themselves.

Bitte rechnen Sie 3 plus 8.

Article teaser

The include element Article teaser shows the article's teaser text. The following example includes the teaser from Content Elements.