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 tried enabling the Week Numbers option on my Mini Calendar display, but doing so causes a strange rendering bug. It adds a new unlabeled column on the left of the table, but it doesn't populate that column with the week number links. The entire column goes totally unrendered, in fact, which causes all the day links to be shifted one column to the left.
I'm going to look into a way to fix this, since I need it to work for my site's calendar.
Comment | File | Size | Author |
---|---|---|---|
#1 | calendar_mini-calendar-week-numbers-fix-2008554-1.patch | 1.3 KB | coredumperror |
Comments
Comment #1
coredumperror CreditAttribution: coredumperror commentedHere's a patch that adds the week numbers to the mini-calendar month view. I'm not certain that it's 100% the right way to do this, but it seems to work fine.
Comment #2
odegard CreditAttribution: odegard commentedI can confirm the symptom, the patch solves the problem, and the code looks solid. Thanks!
Comment #3
toaijala CreditAttribution: toaijala commentedCan confirm it works perfectly for me aswell.
Comment #4
fizk CreditAttribution: fizk commentedCommitted, thanks!
Comment #6
coredumperror CreditAttribution: coredumperror commentedOh that's very good to hear. Thank you!