DEPRECATION WARNING

This documentation is not using the current rendering mechanism and will be deleted by December 31st, 2020. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Using template layouts for listviewΒΆ

Different template layouts can be configured in Page TSConfig.:

tx_sfeventmgt.templateLayouts {
  1 = 2 column layout
  2 = Event-Slider
}

This TypoScript above defines 2 new template layouts, which will appear in the template layout selectbox in the plugin settings like shown below.

Different template layouts

The choosen template layout can be used in the fluid templates as shown below.:

<f:if condition="{settings.templateLayout} == 1">
  <f:render partial="List/Event-Slider" arguments="{eventItem: event, settings:settings}"/>
</f:if>