Results 1 to 2 of 2

Thread: [SOLVED] how to create new Operation?

  1. #1
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    369
    Rep Power
    6

    Default [SOLVED] how to create new Operation?

    Hi!
    I like zimbra(of course). But I have a problem when I want to create new Operation in Zimbra.
    Example:
    I need to add a new menu item when I click on a folder tree. I think I must define a new operation in ZmOperation:
    ZmOperation.registerOP("Share_all",{textKey:" Share this foder to public"});
    Then I must add it to a menu action of folder tree.
    But in fact, it's not work!
    Who can help me: how I do in this case? Thank you.

  2. #2
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    369
    Rep Power
    6

    Default I resolved

    Ok, now, I can resolve it. Too simple, You must define operation in ZmOperation.js then use createMenuItem of ZmPopupMenu object to add it to menu context. Notice: you should check if this menuItem is present before add it to menu context. have fun!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. REPAIR: Zimbra wont start
    By emcampos in forum Administrators
    Replies: 6
    Last Post: 06-10-2009, 04:52 AM
  2. Various errors during install and initial startup
    By theschles in forum Installation Help
    Replies: 2
    Last Post: 11-21-2007, 02:51 PM
  3. How to move backup to another drive
    By ghanedan in forum Administrators
    Replies: 1
    Last Post: 06-25-2007, 06:43 AM
  4. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 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
  •