Custom Button with defined action

Hi,
On the calendar view in the top section where the button are (for day/week/month etc), I would like to have a button, that when pressed calls a specific action, when on the day view.

I intend to use that to email the days events. Pressing the button will basically open a new window calling a php script with the selected day. so if i’m viewing events for 30 June 2014, it will call the script with ?date=2014-06-30

How can I achieve the placement of this custom button. I already have the php code working?

Thanks

Hi,
you can add it in the navigation line and define the CSS rules as for other “view” tabs:

[code]


Send Email

[/code] CSS [code].email_tab { height: 30px; line-height: 30px; background: none; border: 1px solid #CECECE; text-align: center; cursor: pointer; color: #747473; width: 60px; text-decoration: none; font-weight: bold; font-family: arial; font-size: 12px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding: 0 5px; }[/code]