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

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 02-13-2008, 07:32 AM
Loyal Member
 
Posts: 97
Default Zimlet Username change in Zimbar 5

In version 4.5 my zimlet would get the username of the logged in user using
PHP Code:
this.email_dropped_by this._appCtxt.get(ZmSetting.USERNAME);//getusername 
In Zimbra 5.02 this did not work. Using Firebug in firefox I saw the error. Searching through some of the new Zimlets I saw the following code
PHP Code:
this.email_dropped_by appCtxt.get(ZmSetting.USERNAME); 
This worked!

If anyone is using 4.5 and writing a zimlet, I am interested in if this code will work.

FYI, my zimlet is for pepperPM which is not yet released, I'm hoping it will be soon. I just have to get multiple email's to drag and drop, but I wanted to wait till version 5 to start that code.

I hope this helps someone.
__________________
EricX
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.