Teaser von der linken Seite

Der Teaser auf der linken Seite besteht aus einem COA mit 2 Kalendermodulen.

Hier der entsprechende Code:

TypoScript
lib.minical = COA
lib.minical {
    wrap = <h3>Die nächsten 3 Termine</h3>|

    5 < plugin.tx_cal_controller
    5 {

        pages = 175
        view {
            allowedViews = list
            list.listTemplate = fileadmin/templates/cal/listmini.tmpl
            eventLinkTarget = day
            day.dayViewPid = 249
            weekStartDay = Monday

            list.maxEvents = 3
            list.listViewPid = 249
            event.eventViewPid = 249
        }

    }

    10 < plugin.tx_cal_controller
    10 {
        pages = 175
        view {
            allowedViews = month
            month.monthTemplate = fileadmin/templates/cal/monthmini.tmpl
            day.dayViewPid = 249
            weekStartDay = Monday
            dayLinkTarget = day
            list.listViewPid = 249
            event.listViewPid = 249
            event.createEventViewPid = 249
        }
    }
    
    20 = TEXT
    20.wrap= <p>|</p>
    20.value=weitere Termine
    20.typolink.parameter=248

}

und hier die Templates:

listmini.tmpl
<!--list.tmpl-->
 
<!-- ###LIST_TEMPLATE### begin -->
<!-- ###POST_LIST_TEMPLATE### begin -->
 
<!-- ###POST_LIST_TEMPLATE### end -->
<dl>
	<!-- ###SHOWBOTTOMEVENTS### start -->
	<!-- ###SHOWBOTTOMEVENTS_ODD### start -->
	<dt>
		###IMAGE###
		<!-- ###EVENT_LINK### start-->###TITLE###<!-- ###EVENT_LINK### end--><br />
		###STARTDATE### - ###ENDDATE### <br /><span class="V9G">###STARTTIME### - ###ENDTIME###</span>
		<br /><span class="V9G">###CATEGORY_LINK###</span>
	</dt>
	<dd>###DESCRIPTION###</dd>
	<!-- ###SHOWBOTTOMEVENTS_ODD### end -->
	<!-- ###SHOWBOTTOMEVENTS_EVEN### start -->
	<dt style="background:#EEEEEE;">
		###IMAGE###
		<!-- ###EVENT_LINK### start-->###TITLE###<!-- ###EVENT_LINK### end--><br />
		###STARTDATE### - ###ENDDATE### <br /><span class="V9G">###STARTTIME### - ###ENDTIME###</span>
		<br /><span class="V9G">###CATEGORY_LINK###</span>
	</dt>
	<dd style="background:#EEEEEE;">###DESCRIPTION###</dd>
	<!-- ###SHOWBOTTOMEVENTS_EVEN### end -->
	<!-- ###SHOWBOTTOMEVENTS### end -->
</dl>
<!-- ###LIST_TEMPLATE### end -->
<!--/list.tmpl-->
monthmini
<div id="minical" align="center">###MONTH_SMALL|+0### </div>
Typo3