[TYPO3-calendar] List view: startdate and enddate without year?

Markus markusd112 at web.de
Mon May 23 17:24:30 CEST 2011


Hi Mario,

thanks for your quick reply.

One issue I haven't thought about: for december and january we have to 
display all events from 01.12. until 31.01., so there will be a break...

Does it work for this constellation too? Or is it than filtering like 
startdate="01.12.2011" to enddate="01.01.2011" (which doesn't make 
sense, because enddate < startdate)

Yours,

Markus


Am 23.05.2011 14:47, schrieb Mario Matzulla:
> 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