[TYPO3-calendar] monthOff and currentDay

Mario Matzulla mario at matzullas.de
Sat Aug 6 16:33:35 CEST 2011


Hi Peter,

Am 04.08.11 10:50, schrieb Peter Schinken:
> Am 03.08.2011 um 21:48 schrieb Mario Matzulla:
>
>> Hi Peter,
>>
>> Am 03.08.11 14:06, schrieb Peter Schinken:
>>> Hi Mario,
>>>
>>> Am 03.08.2011 um 13:53 schrieb Mario Matzulla:
>>>
>>>> Hi Peter,
>>>>
>>>> Am 03.08.11 13:36, schrieb Peter Schinken:
>>>>> Hello everybody,
>>>>>
>>>>> I have 2 issues:
>>>>>
>>>>> 1) I have a view with 3 small months (month - 1, current month and month + 1). I would like to style the monthOff days differently. In the current month, everything is ok, but all days of the other months are marked as monthOff, too.
>>>>> In the demo on http://www.wischnat.de/1587.0.html this can be seen, too.
>>>>> A bug or is there a possibility to configure that?
>>>>
>>>> Looks like you are still on an older cal version? (the demo is too :( )
>>>> I can't confirm this here.
>>>
>>> I'm on 1.4.1.
>>
>> Sorry, I have to excuse myself. The class was correct on 2/3 of the day - but not for the dayNum. I fixed it in our svn.
>
>
> Hi Mario,
>
> You fixed the monthOff in the current month. But all days in other months are still marked as monthOff.

Correct. I had to add another variable to know which is the month to be 
rendered.
>
> You may also fix this in newSmallMonth.tmpl. There is the same problem.

You are right on this too. I fixed and committed it to our svn.

Thanks a lot,
Mario

>
> Best regards



More information about the TYPO3-project-calendar mailing list