I want to modify Zimbra webmail form to add a "Send SMS" checkbox.
How can I do that? Are there any hooks to modify the form and the form submit action?
Or can I modify the source code?
Printable View
I want to modify Zimbra webmail form to add a "Send SMS" checkbox.
How can I do that? Are there any hooks to modify the form and the form submit action?
Or can I modify the source code?
Maybe you better look into com_zimbra_sms zimlet which seems to add "Send SMS" button on compose view.
The source code around Com_Zimbra_sms.prototype.onShowView method in sms.js will be pretty much helpful for you.
But the event listener of this button send the request to Business Text Messaging :: Upside Wireless Inc. :: Business SMS Solutions. So you could need some modification there.Quote:
Com_Zimbra_sms.prototype.onShowView = function(viewId, isNewView) {
if (!this.turnOnZimlet_SMS || !this.sms_showSendAndSMSButton)
return;
if (viewId == ZmId.VIEW_COMPOSE && !this._toolbar) {
this._initComposeSMSToolbar();
}
};