Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to display a day view that has three events all starting at the same time, but I can only see two of them, and just one of them has clickable links to the node.
The problem is that all three events are displayed, but two of them have the same CSS class and are therefore located one above the other. The issue with the clickable link is that the foremost event has a div that transparently covers the div of the other event showed.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1790656-calendar_overlap-3.patch | 3.86 KB | guillaumev |
#2 | _drupal_calendar-overlap.diff | 2.01 KB | dMaggot |
Comments
Comment #1
dMaggot CreditAttribution: dMaggot commentedThe issue with the same CSS classes (and thus one item on top of the other) was happening because I had an event with same start and end date-time. I fixed the end date-time and I can now see all three events, my bad.
The issue that only the most indented item has a clickable link to the node is still present, though, and it is because of the div.calendar.view-item that is behind the calendar item itself. I experimented a bit by removing that div from the template and from some of the CSS rules and I messed up the display (calendar items have incorrect width) but all links are clickable.
Comment #2
dMaggot CreditAttribution: dMaggot commentedFixed CSS styles to correctly layout items in singleday calendar view. Working for me on http://ecsl2012.softwarelibre.ca/calendario/dia/2012-11-02
Comment #3
guillaumev CreditAttribution: guillaumev commentedThis fixed it for me as well, so I applied it to the week view as well.
Comment #4
dcooley CreditAttribution: dcooley commentedThe patch in #3 fixed my problem. Weekly and daily links of concurrent events are clickable now.
Comment #5
apadernoComment #7
Neslee Canil PintoCommitted, Thanks.