Using the Modal Tag

For short and simple text content, you can place the content straight into the modal tag by using the html attribute:

{modal html="This text is entered right inside the modal tag." title="Hello!"}Show some inline text{/modal}

Using a separate Content Tag

To place entire content blocks inside a modal without the need of creating separate articles/urls, you can use the content attribute in combination with modalcontent tags.

You are completely free to place whatever custom content you want to open inside the modal.

All you need to do is choose an alias for the modalcontent tag and place that alias as value for the content attribute in the modal tag. In this example, our alias will be: mycontent.

By using the modalcontent tags, you can place entire content blocks into the modal without the need of creating separate articles/urls.

You are also completely free to place whatever style and type of content you want in here:

Lorem Ipsum

applesPellentesque habitant morbi tristiquesenectus et netus et malesuadafames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis.

Header Level 2

  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  2. Aliquam tincidunt mauris eu risus.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.

Header Level 3

  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  • Aliquam tincidunt mauris eu risus.
#header h1 a {
	display: block;
	width: 300px;
	height: 80px;
}
{modalcontent mycontent}
... your fully styled content...
{/modalcontent}

{modal content="mycontent" title="Fully styled inline content"}A lot more inline content{/modal}

Note: The modalcontent tag can be placed anywhere on the page. You can also have multiple modal links opening the same modalcontent content.