Commit 031312be authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch '81-create-events-latest-template-for-start-page' into 'develop'

Resolve "Create events latest template for start page"

Closes #81

See merge request !73
parents 5ed80bb6 c8755072
Pipeline #1657 passed with stages
in 4 minutes and 4 seconds
tx_sfeventmgt.templateLayouts {
1 = Latest view
<html xmlns:f="" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="main">
<f:if condition="{settings.templateLayout} == 1">
<div class="latestEvents">
<f:for each="{events}" as="event">
<div class="calendar-event">
<span class="calendar-day">{event.startdate ->'d')}</span>
<span class="calendar-month">{event.startdate ->'M')}</span>
<span class="calendar-month">{event.startdate ->'Y')}</span>
<div class="event-text">
<h3 class="event-title">{event.title}</h3>
<p>{event.location.title}<br>{} {}<br>{}</p>
<div class="container">
<div class="row">
<div class="col-md-8">
......@@ -23,6 +41,8 @@
<f:link.action action="list" controller="Event">
<f:translate key="event.allEvents" />
<f:section name="Filter">
......@@ -45,3 +65,4 @@
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Linkhandler.txt">'
'<INCLUDE_TYPOSCRIPT: source="DIR:EXT:' . $_EXTKEY . '/Configuration/PageTS/" extensions="txt">'
// url index.php?eID=SolrSuggest&term=sdfsdfsdf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment