[TYPO3-calendar] yearview and title for allday events
Thomas Kowtsch
thomas at kowtsch.de
Wed Mar 7 21:10:25 CET 2012
Hi Ryan,
On 06.03.2012 15:46, Ryan Kristensen wrote:
> After further testing I found that the title for allday events only are
> missing when useNewTemplatesAndRendering is set.
> In view/class.tx_cal_new_weekview.php from line 144-146 in the function
> addEvent:
> if(is_object($this->days[$eventStart->format('%Y%m%d')])){
> $this->days[$eventStart->format('%Y%m%d')]->hasAlldayEvents = true;
> }
> If I add this line inside the if-statement everything works:
> $this->days[$eventStart->format('%Y%m%d')]->addEvent($event);
Many thanks for pointing this out - that's how collaborative development
should work!
> Is this a bug?
Not any longer ;-) I submitted a bugtracker entry and your patch [1]
Thanks again & have a good week!
Thomas
[1] http://forge.typo3.org/issues/34654
More information about the TYPO3-project-calendar
mailing list