CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #33511

Missing Events in Dayview

Added by Dirk Werber over 1 year ago. Updated 8 months ago.

Status:Closed Start date:2012-01-28
Priority:Must have Due date:
Assignee:Thomas Kowtsch % Done:

90%

Category:Calendar Views Spent time: 2.00 hours
Target version:1.5
Votes: 2 (View)

Description

Hi all,

an allday event which last some days (Event start date: 20-12-2012 Event end day: 4-1-2013) is shown correct in weekview etc., but not in dayview. Here only the first date is displayed (in example entry in 20.12.2012).

TYPO3 v 4.5.11
EXT:cal v 1.4.2

weekview-fixed-template.jpg (49.7 kB) carsten , 2012-04-04 15:42

Associated revisions

History

Updated by Thomas Kowtsch over 1 year ago

  • Target version changed from 1.4.3 to 1.5

Moving one release ahead since it's not really a special v1.4 issue (need to avoid further delay of other fixes)

Updated by Thomas Kowtsch over 1 year ago

  • Category set to Calendar Views

Updated by Thomas Kowtsch about 1 year ago

  • Status changed from New to Needs Feedback

Dirk,

can you please provide some more details about your configuration, esp. what kind of templates you are using?

While testing with current dev release (1.5, based on 1.4.3 available in TER) with the new standard templates, such events get rendered - as allday events.

Thanks for your feedback!

Updated by Dirk Werber about 1 year ago

Hi Thomas,

I use the standard templates and the problem is not solved for me. An allday event which last a couple of days is in dayview only shown at the first date. I also disable my custom typoscript - but it did not solve the problem.
Show entry test in dayview:
18. März: http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/tag/caldatum/2012/03/18.html
19. März: http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/tag/caldatum/2012/03/19.html

Correct view in weekview:
http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/woche/caldatum/2012.html?tx_cal_controller%5Bweek%5D=12&tx_cal_controller%5Bweekday%5D=1&cHash=5c3bae12e80eefb03539da20144222ba

TYPO3 v 4.5.12
EXT:cal v 1.4.3

Best regards,
Dirk

Updated by Nigg about 1 year ago

I've got the same problem with allday events in the dayview.

TYPO3 v 4.5.12
EXT:cal v 1.4.2

Updated by Thomas Kowtsch about 1 year ago

Testing at typo3-calendar.org doens't allow to reproduce this :-(

Start date: March 30
End date: - April 10
Start time: 10:00
End time: 22:30
http://www.wischnat.de/1590.0.html?&tx_cal_controller[day]=02&tx_cal_controller[month]=04&tx_cal_controller[year]=2012

Dirk, could you please try to disable URL rewriting to make sure we no side effects from this?

Nigg, Dirk, could you please post your cal-specific typoscript?

Updated by Nigg about 1 year ago

Hi Thomas, thx for your quick response.
This is my cal-Typoscript:

plugin.tx_cal_controller {
  _LOCAL_LANG.de {
    l_event = Termin
    l_event_starttime = Beginn
    l_event_endtime = Ende
    l_event_startdate = Datum
    l_more = {$global.more}
    l_event_more = {$global.more}
  }

 dateConfig {
  dayPosition = 0
  monthPosition = 1
  yearPosition = 2
  splitSymbol = .
}

  pidList = 102
  view.timeFormat = %d. %B %y
  view.list.dateFormat = %d.%m.%Y
  view.list.monthWrapperFormat = %B %Y
  view.list.event.timeFormat = %H:%M
  view.list.strftimeTitleStartFormat = %d.%m.%Y
  view.list.strftimeTitleEndFormat = %d.%m.%Y
  view.list.event.eventDateFormat = %d.%m.%Y
  view.list.event.dateFormat = %d.%m.%Y
  view.list.dayWrapperFormat = %d. %B %Y
  view.week.dateFormatWeekList = <div class="cal_week_date">%a</div><div class="cal_week_date">%d</div>
  view.event.event.startdate.dataWrap = <div><b>%%%STARTDATE_LABEL%%%:</b><br />|</div>
  view.event.event.enddate.dataWrap = <div><b>%%%ENDDATE_LABEL%%%:</b><br />|</div>
  view.event.event.timeFormat = %R Uhr
  view.event.event.dateFormat = %e. %B %Y

  ## Datums-Format in Tagesansicht
  view.day.displayDate.strftime = %A, %d. %B %G
  view.day.dayTemplate = fileadmin/templates/cal/day.tmpl
  view.day.newDayTemplate= fileadmin/templates/cal/newDay.tmpl
  view.day.event.timeFormat = %H:%M Uhr
  view.day.event.image.stdWrap.dataWrap = |  
  view.day.timeFormatDay = %H Uhr
  view.day.event.alldayTitle.crop = 80|..

  view.day.dayEventPre = <td rowspan="%s" align="left" valign="top" 

  view.month.monthLargeTemplate = fileadmin/templates/cal/newLargeMonth.tmpl

  view.event.event.description.dataWrap = <p>|</p>
  view.event.event.alldayTitle.dataWrap = |
  view.event.event.title.dataWrap = |
  view.event.event.startdate.dataWrap = |
  view.event.event.enddate.dataWrap = |
  view.event.event.image.dataWrap = |
  view.event.event.image.stdWrap.dataWrap = |

  #view.event.event.starttime.dataWrap = <div class="starttime"><label>%%%STARTTIME_LABEL%%%:</label>&nbsp; |</div>
  #view.event.event.endtime.dataWrap = <div class="endtime"><label>%%%ENDTIME_LABEL%%%:</label>&nbsp; |</div>
  #view.event.event.organizer.dataWrap = <div class="organizer"><label>%%%ORGANIZER%%%:</label>&nbsp; |</div>
  #view.event.event.location.dataWrap = <div class="location"><label>%%%LOCATION%%%:</label>&nbsp; |</div>
  #view.event.event.description.dataWrap = <div class="desc"><label>%%%DESCRIPTION_LABEL%%%:</label>&nbsp; |</div>
  view.event.event.image.stdWrap.dataWrap = <div class="image">|</div>
  #view.event.event.category.dataWrap = <div class="category"><label>%%%CATEGORY%%%:</label>&nbsp; |</div>
  #view.event.event.image.maxW = 550

  view.event.eventTemplate = fileadmin/templates/cal/event.tmpl
  view.list.event.location.dataWrap =
  view.list.event.enddate.noTrimWrap = | bis ||
  view.list.listTemplate = fileadmin/templates/cal/list.tmpl

  view.month.dateFormatMonth= %B %Y
  view.month.monthTemplate = fileadmin/templates/cal/month.tmpl

  view.dateFormat = %d. %B %Y

  view.search.searchResultEventTemplate = fileadmin/templates/cal/search_event.tmpl

  view.search.defaultValues.start_day = now
  view.search.defaultValues.end_day = +12 month
}

Updated by Dirk Werber about 1 year ago

Hi Thomas,

thanks for your help! It is not a problem with realurl or my typoscript-settings. I disabled both, but it did not solve the problem. Just for fun I tried the classic templates - and here everything works fine. Maybe it is a problem with the standard template? I used the one shipped within cal 1.4.3

Updated by Nigg about 1 year ago

When i use the classic templates, the problem is also solved for me.

Updated by Mario Matzulla about 1 year ago

  • Status changed from Needs Feedback to Under Review
  • Assignee changed from Mario Matzulla to Thomas Kowtsch
  • % Done changed from 0 to 90

I just committed a fix with r60074
Please test it

Updated by Dirk Werber about 1 year ago

Hi Mario,
the fix solves the problem for me!
Thank you all very much for your work!

Best regards,
Dirk

Updated by Dirk Werber about 1 year ago

Hi Mario,
maybe there is another issue to fix:
If you have an allday event (20.12.2012-04.01.2013) and define now a recurrence by period (in example 23.12.2013 and duration week:2 day:1), in dayview only the first date is shown (in example 23.12.2013) and in weekview only the first week (in example entry 30.12.2013-05.01.2014 and 06.01.2014-07.01.2014 is missing) is shown...

first date is shown:
http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/tag/caldatum/2013/12/23.html
following entries are missing in dayview:
http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/tag/caldatum/2013/12/24.html

first week is shown in weekview:
http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/woche/caldatum/2013.html?tx_cal_controller%5Bweek%5D=52&tx_cal_controller%5Bweekday%5D=1&cHash=9e040a8da7a731bf10a0c0dae8c61c46
second week is missing:
http://sfm-landau.bildung-rp.de/aktuelles-termine/termine/woche/caldatum/2013.html?tx_cal_controller%5Bweek%5D=1&tx_cal_controller%5Bweekday%5D=1&cHash=4e15ab565443e9899b9d666d6b1c94ef

Dirk

Updated by carsten about 1 year ago

Hey Mario thanks for the fix. Works fine so far it just seems that there is an error with the layout when you use the month-view. Think it´s a missing </td> or something but i couldn´t find anything wrong in class.tx_cal_new_weekview.php

Greetings

Carsten

Updated by Thomas Kowtsch 8 months ago

  • Status changed from Under Review to Closed

Closing this for now since the root problem is solved.
Please doublecheck if the other problems got solved by other fixes. If not, please be so kind to submit a separate new bug report.

Also available in: Atom PDF