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 think a print view button would be a nice addition. We use FullCalendar on our company's intranet and the users would like to be able to easily print out the calendar.
Comment | File | Size | Author |
---|---|---|---|
#3 | fullcalendar-print.patch | 1.29 KB | aspilicious |
Comments
Comment #1
bjlewis2 CreditAttribution: bjlewis2 commentedI second this. Is there an easy way to do this currently?
Comment #2
aspilicious CreditAttribution: aspilicious commentedThere is a print.css build in the fullcalendar plugin...
But I'm not sure how that helps us.
Comment #3
aspilicious CreditAttribution: aspilicious commentedOk, first step.
Fullcalendar 1.5 supports a fullcalendar.print.css
This patch adds the css if you have the 1.5 version (or higher) of the plugin.
Tested it with different plugin versions :)
Afterwards we can discus if we need the button in fullcalendar core...
Comment #4
bjlewis2 CreditAttribution: bjlewis2 commentedAre you implying that there should be a print button? If so, don't see one...
Comment #5
aspilicious CreditAttribution: aspilicious commentedI quote myself
So no button added.
I'll make a patch with a simple button just to test the print css
Comment #6
bjlewis2 CreditAttribution: bjlewis2 commentedOk, I get it now... Thanks.
Comment #7
tim.plunkettI have to test this, but it looks pretty sane.
Comment #8
tim.plunketthttp://drupalcode.org/project/fullcalendar.git/commit/519de6f
Comment #10
prakashsingh CreditAttribution: prakashsingh commentedAfter incorporating this patch how would you like to give print command. Do you mean the print option of the browser itself.
May i ask if we can attach it with Print module for having a printer-friendly version of calendar
Regards
Comment #11
KristineC CreditAttribution: KristineC commentedtim.plunkett, thanks for the extra code. This helped get everything from floating during the print!