Results 1 to 6 of 6

Thread: new button

  1. #1
    Join Date
    Dec 2005
    Posts
    26
    Rep Power
    10

    Default new button

    How to add a button in menu emergent?

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Can you give us some more context? Where are you trying to add a new button? What code are you working with? The Zimbra Mail App? Your own app and the Zimbra AjaxTk?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Dec 2005
    Posts
    26
    Rep Power
    10

    Default menu emergent of contacts

    To insert the button in the Zimbra Mail, in the part of Contacts, menu emergent of contacts

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    If you want the button to show up in the right-click menu of all contacts then you'd add the new button here:

    /ZimbraWebClient/WebRoot/js/zimbraMail/abook/controller/ZmContactListController.js

    ZmListController.prototype._contactOps =
    function() {
    var list = new Array();
    if (this._appCtxt.get(ZmSetting.SEARCH_ENABLED))
    list.push(ZmOperation.SEARCH);
    if (this._appCtxt.get(ZmSetting.BROWSE_ENABLED))
    list.push(ZmOperation.BROWSE);
    list.push(ZmOperation.NEW_MESSAGE);
    if (this._appCtxt.get(ZmSetting.CONTACTS_ENABLED))
    list.push(ZmOperation.CONTACT);
    return list;
    }

    You'll need to add the ZmOperation first if it's a new operation.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Dec 2005
    Posts
    26
    Rep Power
    10

    Default Icon for ZmOperation

    Where I place the direction of the icon for the ZmOperation? and Where I place the event of the button?
    Last edited by rolando; 12-25-2005 at 03:03 PM.

  6. #6
    Join Date
    Dec 2005
    Posts
    26
    Rep Power
    10

    Default finished !!!

    all this ok, I have solved it!!!!! je je je i'm happy !!!

Similar Threads

  1. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  2. Replies: 1
    Last Post: 02-20-2007, 01:49 AM
  3. Archive Button
    By bkonia in forum Users
    Replies: 9
    Last Post: 12-20-2006, 12:02 PM
  4. Adding an Application Button
    By czaveri in forum Developers
    Replies: 16
    Last Post: 11-03-2006, 03:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •