X
Tap here to go to the mobile version of the site.

Support Forum

setting the default calendar event in thunderbird v. 60.8.0 to be an all day event

Posted

how can i set the default calendar event in thunderbird v. 60.8.0 to be an all day event?

how can i set the default calendar event in thunderbird v. 60.8.0 to be an all day event?
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

More Information

sfhowes
  • Top 10 Contributor
1438 solutions 6814 answers

Helpful Reply

For Day or Week view, you can double-click at the top of the calendar:

http://forums.mozillazine.org/viewtopic.php?p=3643255#p3643255

It's a bit more complicated for multiweek or Month view:

http://forums.mozillazine.org/viewtopic.php?p=13957013&sid=fcc506146b1d03b2a966ca33f568f9e1#p13957013

For Day or Week view, you can double-click at the top of the calendar: http://forums.mozillazine.org/viewtopic.php?p=3643255#p3643255 It's a bit more complicated for multiweek or Month view: http://forums.mozillazine.org/viewtopic.php?p=13957013&sid=fcc506146b1d03b2a966ca33f568f9e1#p13957013
Was this helpful to you? 1
Quote

Question owner

thanks again sfhowes yes it’s the monthly calendar I want to change the default for i saw the post you referenced but the technical aspects are beyond my comprehension:

here’s the post:

You would need to hack the extension to change the double click behavior in the multiweek and month views.

  • edit extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome\calendar\content\calendar\calendar-month-view.xml
  • restart application

CODE: SELECT ALL - this.calendarView.controller.createNewEvent(); + this.calendarView.controller.createNewEvent(null, this.mDate, null, true);

That hack enables the "All day Event" checkbox in the New Event dialog when double clicking a day box in the multiweek and month views, similarly to the default behavior when double clicking an all day box in the day and week views.


How do I hack the extension to replace the this.calendarView code? Where do I run this command? Can you walk a novice through this?

thanks again sfhowes yes it’s the monthly calendar I want to change the default for i saw the post you referenced but the technical aspects are beyond my comprehension: here’s the post: ------------ ''You would need to hack the extension to change the double click behavior in the multiweek and month views. * edit extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome\calendar\content\calendar\calendar-month-view.xml * restart application CODE: SELECT ALL - this.calendarView.controller.createNewEvent(); + this.calendarView.controller.createNewEvent(null, this.mDate, null, true); That hack enables the "All day Event" checkbox in the New Event dialog when double clicking a day box in the multiweek and month views, similarly to the default behavior when double clicking an all day box in the day and week views.'' ------------ How do I hack the extension to replace the this.calendarView code? Where do I run this command? Can you walk a novice through this?
Was this helpful to you?
Quote
sfhowes
  • Top 10 Contributor
1438 solutions 6814 answers

Helpful Reply

1. Select Help/Troubleshooting Information, click Open Folder to open the profile folder in File Explorer. Close TB. 2. In the extensions subfolder, copy the file {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi to another folder, e.g. Documents. Rename the one that is in extensions to {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi.BAK 3. In Documents, change the extension from xpi to zip. Open the zip and navigate to the chrome\calendar\content\calendar folder. Extract calendar-month-view.xml from the zip file. 4. Open the xml file in a text editor and go to line 328. Replace this.calendarView.controller.createNewEvent(); with this.calendarView.controller.createNewEvent(null, this.mDate, null, true); 5. The original instructions say to then repack the xml file and copy the modified xpi into extensions, but this is not sufficient. 6. Taking a clue from this page, I deleted line 327 with event.stopPropagation(); 7. Save the modified xml and add it back to the zip file in the same location. 8. Change the extension from zip to xpi and copy the xpi into extensions.

Upon restarting TB, double-clicking a day in Multiweek or Month view will open a new event with the All Day Event box checked. Tested and working in TB 60.8/Lightning 6.2.8 (see picture). You will have to modify the file whenever Lightning is updated.

1. Select Help/Troubleshooting Information, click Open Folder to open the profile folder in File Explorer. Close TB. 2. In the extensions subfolder, copy the file {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi to another folder, e.g. Documents. Rename the one that is in extensions to {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi.BAK 3. In Documents, change the extension from xpi to zip. Open the zip and navigate to the chrome\calendar\content\calendar folder. Extract calendar-month-view.xml from the zip file. 4. Open the xml file in a text editor and go to line 328. Replace this.calendarView.controller.createNewEvent(); with this.calendarView.controller.createNewEvent(null, this.mDate, null, true); 5. The original instructions say to then repack the xml file and copy the modified xpi into extensions, but this is not sufficient. 6. Taking a clue from [https://dxr.mozilla.org/comm-esr31/source/calendar/base/content/calendar-multiday-view.xml#2203 this page], I deleted line 327 with event.stopPropagation(); 7. Save the modified xml and add it back to the zip file in the same location. 8. Change the extension from zip to xpi and copy the xpi into extensions. Upon restarting TB, double-clicking a day in Multiweek or Month view will open a new event with the All Day Event box checked. Tested and working in TB 60.8/Lightning 6.2.8 (see picture). You will have to modify the file whenever Lightning is updated.
Was this helpful to you? 1
Quote

Question owner

holy toledo - that’s what I call tech support!

Thx for that sfhowes – for some reason tbird would not recognize my altered extension for lightning – I may have buggered it up somewhere along the way – so I restored the original .BAK 3 version and calendar is back to normal – I shall simply check the all day event box myself in future

I have to say after suffering though windows live mail long past its expiry date its such a pleasure to use thunderbird – and the support network is phenomenal – I’ve made a donation to thunderbird support and will continue to do so annually

Thx again

holy toledo - that’s what I call tech support! Thx for that sfhowes – for some reason tbird would not recognize my altered extension for lightning – I may have buggered it up somewhere along the way – so I restored the original .BAK 3 version and calendar is back to normal – I shall simply check the all day event box myself in future I have to say after suffering though windows live mail long past its expiry date its such a pleasure to use thunderbird – and the support network is phenomenal – I’ve made a donation to thunderbird support and will continue to do so annually Thx again
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.