[TYPO3-calendar] Several mini-monthviews for different months

Mario Matzulla mario at matzullas.de
Tue Nov 29 20:27:00 CET 2011


Hi René,

Am 29.11.11 17:53, schrieb René Ott:
> Hi @list,
>
> one question:
>
> is it possible to put three mini-monthviews on one page? The first
> should display the current month, the next the following month and the
> third one should display the next but one month.
>
> Currently we have no idea how to achieve this...any hints?

sure, that's possible. Have a look at the template/sidebar.tmpl there 
are markers for the different months 
(###MONTH_SMALL###,###MONTH_SMALL|+1###,###MONTH_SMALL|+2###).
Keep in mind, that you have to adjust the timespan to search for events, 
in order to populate those months with events:

view.{your view name}.endPointCorrection = 60 * 60 * 24 * (2 * 30 + 7)
// seconds per minute * minutes per hour * hours per day * (2 months * a 
30 days + 7 days of a next month in the third month)

Regards,
Mario

>
> Best regards,
> René



More information about the TYPO3-project-calendar mailing list