Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-26-2011, 01:57 AM
Starter Member
 
Posts: 1
Cool Modify send mail form

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?
Reply With Quote
  #2 (permalink)  
Old 09-26-2011, 02:02 PM
Project Contributor
 
Posts: 92
Default

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.
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();
}
};
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.