[TYPO3-calendar] List view: startdate and enddate without year?
Mario Matzulla
mario at matzullas.de
Mon May 23 14:47:34 CEST 2011
Hi Markus,
Am 22.05.11 16:01, schrieb Markus:
> Hello!
>
> I have several pages (each for a month of the year). I have some cal FE
> elements on it that should display e.g. all events in march of the
> actual year.
>
> In the template I have simply put this filter:
>
> plugin.tx_cal_controller.view.list {
> starttime = 01.03.2011
> endtime = 01.04.2011
> }
>
> But I don't want to change this TS setting each year to the actual year
> (for example: in december I would have to change it to 2012). Is it
> possible to simple write:
>
> plugin.tx_cal_controller.view.list {
> starttime = 01.03.
> endtime = 01.04.
> }
>
> Here it seems to work, but I want to be sure, that this really works and
> doesn't produce any side effects...
This should work, since we start with the current date and modify it by
the data given.
Regards,
Mario
>
> Thanks,
>
> have a nice sunday...
>
> Markus
>
>
More information about the TYPO3-project-calendar
mailing list