I was able to successfully implement the code you provided. I did have to modify a core js file to get the correct link for the button. When I added the functions.php code for this (listed in the comments in the code you provided) it did not work on the calendar/list view but it did override the link on an individual event (which I don’t want).