Quantcast
Channel: Zimbra :: Forums - Zimlets
Viewing all 171 articles
Browse latest View live

Mark read / unread emails in different color

$
0
0
Looking for a way to quickly scan inbox where read emails are a different color than unread emails. Example, all unread email is standard black and read emails are red.
Thanks,

Create button in off state

$
0
0
Am trying to fix the StickyNotes Zimlet, and almost there, but one bit that is bugging me is when the button is initially added it is in the "On" state; where as others like Delete or Spam are in the "Off" state.
Code:

ZmMsg.stickyNotesLabel = this.getMessage("sn_label");
        ZmMsg.stickyNotesTip = this.getMessage("sn_tooltip");
        var buttonArgs = {
            text    : ZmMsg.stickyNotesLabel,
            tooltip: ZmMsg.stickyNotesTip,
            index: buttonIndex,
            image: "stickynotes-panelIcon"
        };
        if(!toolbar.getOp(StickyNotesZimlet.stickyNotes)) {
            var button = toolbar.createOp(StickyNotesZimlet.stickyNotes, buttonArgs);
            button.addSelectionListener(new AjxListener(this, this._stickyTBListener, [controller]));
        }

What do I need to add to the buttonArgs to change its default state please ?

Zimlet Anymeeting

$
0
0
Hy Guy,

I've Zimbra 8 Open Source Edition. I've deployed Anymeeting Zimlet but it dont works. (When I insert my credential he dont do anything)

Does anyone know if this Zimlet works with Zimbra 8 Edition?

Thank you so much.

Best Regards,
Michele

Email Reminder don't work with Zimbra 8

$
0
0
Hello all,

When i drag & drop a mail (or use the Send & remind option) to Zimlet Email Reminder by rrao, Firebug shows :

Code:

uncaught exception: ZmCsfeException
if(h.split(/[\?#]/)[0]==(""+window.location).split(/[\?#]/)[0]){

And reminder is not set.

The function in agregatted js file is :

Code:

Com_Zimbra_Url.prototype._getHtmlContent=function(r,d,s,e){
var h=s.replace(/\"/g,'"').replace(/^\s+|\s+$/g,"");
if(h.substr(0,4)=="www."){
h="http://"+h
}
if(h.indexOf("\\\\")==0){
s.isUNC=true;
h="file://"+h
}
h=h.replace(/\\/g,"/");
var l="<a target='_blank' href='"+h;
if(h.split(/[\?#]/)[0]==(""+window.location).split(/[\?#]/)[0]){
var n=h.substr(h.indexOf("?"));
if(n){
var o=AjxStringUtil.parseQueryString(h);
if(o){
var t=o.app;
if(t&&t.length>0){
t=t.toUpperCase();
if(appCtxt.getApp(ZmApp[t])){
l="<a href='javascript:top.appCtxt.getAppController().activateApp(top.ZmApp."+t+", null, null);"
}}}}}
r[d++]=l;
r[d++]="'>";
r[d++]=AjxStringUtil.htmlEncode(s);
r[d++]="</a>";
return d
};

Any solutions to this ?

Thanks in advance !

tab Zimlets in ZCS 8.0

$
0
0
Hi,
I am testing ZCS 8 Open Source edition.
I am looking to develop zimlets, and have been unable to find documentation for 8, so followed the
developers guide to 6/7 here ZCS 6.0:Zimlet Developers Guide:Introduction - Zimbra :: Wiki
and was able to create the "Hello World" zimlet without any problems.
I went on to the simple tab zimlet, and it does not work, no tab shows up.
I also tried an simple tab example I found here, but no luck.

Do tab zimlets work with 8.0, is there any guides out there, I wouldn't even know where to start.

Thanks.

User side zimlet configuration

$
0
0
Our zimbra server seems to be displaying, or not displaying, the zimlets correctly for the user side. Server side, all zimlets are enabled, and ready for users to use. But I have attached a screenshot of the error. It is showing on the user's zimlet tab with all $(msg.label) $(msgdescription), $(msg.zimletLabel) instead of the appropriate zimlet names. Is there a way to fix this?
Attached Images

senders blocker

$
0
0
hi, very good, but where is the archive of blocked serder located??

Want to override cancel listener of compose appointment view.

$
0
0
Hello,

In my zimlet, I have overridden ZmComposeController to open compose mail view to compose the mail from my zimlet and I have extended the functionality of send and cancel listener of it.
Same way I have overridden ZmTaskController to open task creation view and overridden the save and cancel buttons listener to add functionality on it. But I am opening appointment creation form using AjxDispatcher.run("GetCalController").newAppointme nt(null, null, null, null); and then creating appointment and extending the functionality on its onSaveApptSuccess event. But from my zimlet, when I open first compose mail view and then click on cancel button, it brings me to my zimlet view. And then when I open appointment creation form view, and then click on cancel button then it is not doing anything. It is not bringing back to my zimlet view from that view like it does when I normally click on cancel button without going to compose mail and cancel button event. I tried to override ZmApptComposeController's cancelListener as well as cancelListener of ZmCalItemComposeController to bring back to my zimlet view on cancel event.

And yeah this is happening only in Zimbra 8. Its working fine in Zimbra 7.x.

Out of office/vacation Admin extension

$
0
0
Hi!

Announcing the Out of office (vacation) Admin extension.

This extension enables administrators to modify the current out of office information for a user without switching to his or her mailbox view.
This basically incorporates the "Vacation" setting view used in Zimbra 8.x into the account view of the Administration Console.
compatible with ZCS 8.x, probably 7.x.

Zimlet-Gallery
Github-Repository
Download v1.0

zimlet Youtube player

$
0
0
Hi all
I wanna create a zimlet Youtube player.
Detail:
When end user open a email, in this email has a link of youtube.
End user hover link, then a tooltip pop up. end user playable video in this tooltip.
What should i do?
Thanks all so much.

Popup zimlet

$
0
0
Hi all,
i'm newbie in zimbra.
I'm modifying com_zimbra_gmaps.
Current behavior com_zimbra_gmaps: hover a postal address (Valid), a tooltip popup, but when mouse move out postal address, tooltip auto close.
I wanna create same package. But tooltip doesn't auto close, and i can embedded Google Map to this tooltip so i can drag and drop map in tooltip.
Have any idea for me?
Thanks all.

Appointment summary question

$
0
0
Is there any way to get only some calendars (Not all of them) by mail ?

Thank you for your help.

New Compose Window Menu Item

$
0
0
Hello. I am working on a zimlet that requires me to add another menu item to the compose window. I have the following code which works famously well:

blah.blah.blah..prototype.initializeToolbar =
function(app,toolbar,composeController,viewID)
{
if (viewID.indexOf("COMPOSE") == 0) {
var buttonIndex = 0;
if (this.isInit != 0)
return;
this.isInit++;
var buttonParams = {
text: "My Blah",
tooltip: "Blah Blah",
index: buttonIndex,
image: "zimbraicon"
};

// creates the button with an id and params containing the button details
var button = toolbar.createOp("Blah Blah Blah", buttonParams);
button.addSelectionListener(new AjxListener(this, this.popDialog, composeController));
}

As I said, this all works great UNLESS you compose your email in a new window. If you do that, it turns out initializeToolbar is actually never called. I looked in the code and the culprit seems to be here : (taken from ZmComposeController.js)

if (params.inNewWindow) {
var msgId = params.msg ? params.msg.nId : (this._msg ? this._msg.nId : Dwt.getNextId());
var newWinObj = ac.getNewWindow(false, ZmComposeController.NEW_WINDOW_WIDTH, ZmComposeController.NEW_WINDOW_HEIGHT, ZmId.VIEW_COMPOSE + "_" + msgId);

// this is how child window knows what to do once loading:
newWinObj.command = "compose";
newWinObj.params = params;
if (newWinObj.win) {
newWinObj.win.focus();
}
The new window object never really asks anybody if there are changes to the menu bar.
So my questions is, has anyone been able to figure out a way to add a menu bar to a new compose window?

I am using Zimbra version 7.2.0

Write zimlet

$
0
0
I need a zimlet to be rewritten. "Birhday reminder" to ZCS 8.0.3 compatibility.

Problem integrating Zimlet with JQuery

$
0
0
Hi guys,

I'm trying to make an integrated Zimlet which creates a custom toolbar button.

I downloaded the example of integrated Zimlet at : ZCS 6.0:Zimlet Developers Guide:Examples:Adding Toolbar Buttons - Zimbra :: Wiki

It worked normally until I modified the zimlet definition file to use JQuery:

<include>jquery.js</include>
<include>com_zimbra_example_toolbarhook.js</include>
<handlerObject>com_zimbra_example_toolbarhook_Hand lerObject</handlerObject>


After deploying the zimlet,I keep getting this error and I don't have a clue why it happens:

Uncaught TypeError: Object visibility:hidden;border:0; has no method 'insertBefore' Zimlets-nodev_all.js:1169

When I switched to dev mode,it worked normally.

Any help would be highly appreciated,thanks.

Inbox Zero Menu moved to bottom of thread

$
0
0
I use Inbox Zero simply for the ARCHIVE button. It worked perfect - buttons appearing at the top of the email reading pane.

Today, we have been updated to Zimbra 8.0.3_GA_5664 (build 20130305090219).

Inbox Zero's menus now appear AFTER the entire thread inside an email. This makes it useless.

1) does anyone know if this can be changed by users?

2) Is there a way to put an ARCHIVE button in the main row of buttons ( next to REPLY, REPLY ALL, etc)? I know I can use the ACTIONS pulldown, but that's an extra step (and a scroll) to get to the ARCHIVE folder.

Any help would be appreciated.

Deferred message to Inbox

$
0
0
Hi there,

I am a bit new to Zimbra but got a task from Management for tender purpose. What is really needed is when an email arrives on the Zimbra server, it must be delivered on a specific date (and time) on the receiver email account. The reason is for the concern of obtaining bids from suppliers. A closing date will be set for the bid and before that time, no one should be able to see the emails from the suppliers. We can put a specific subject name for this filtering.
I have look into the filtering method but it is not achievable. Can someone help?

Thanks

Heemal...

Attach file from briefcase

$
0
0
Hi, i've uploaded a file in my briefcase trought appCtxt.getUploadDialog() :
this function give me back the followind propriety of the file just uploaded:

.name
.fullname
.notes
.guid
.id
.version
.__internalId
.done

now, i can't attach this file on my new message. On my send function i try to attach the file from the briefcase:


upload_file_id = file.guid;
var node_attach = soapDoc.set("attach", null, node_m);
node_attach.setAttribute("aid",upload_file_id);


but i get:

------
method: [unknown]
msg: upload not found: 33253f3f-5205-41fb-8f74-db207f174d25:07e866b9-4424-44e6-8b3e-778687b153a8
code: mail.NO_SUCH_UPLOAD
detail: soap:Sender
trace: qtp1456226908-8604:https://10.120.120.27:443/service/so...9d3154720f79b8
------

how can i attach a file from the briefcase?

thanks
Marco

How to make Panel Zimlet right- and left-click do the same thing?

$
0
0
What it says in the title. I'm working on a Zimlet that has a contextMenu set up in the XML file, and we'd like to have it pop up on a left-click as well as a right-click. Any ideas as to how to do this? It seems like the zimletPanelItem info is pretty well-hidden from the ZmZimletBase.

Problem using JQuery with Zimlet

$
0
0
Hi guys,

I'm making an integrated Zimlet-which is meant to add a new toolbar button.
I downloaded the example Zimlet from Zimbra web site : ZCS 6.0:Zimlet Developers Guide:Example Zimlets - Zimbra :: Wiki

It worked fine until I modified the Zimlet definition file to include JQuery library:

<zimlet name="com_zimbra_example_toolbarhook" version="1.0" description="An example zimlet that adds a button to the Compose toolbar.">
<inclue>jquery.js</inclue>
<include>com_zimbra_example_toolbarhook.js</include>
<handlerObject>com_zimbra_example_toolbarhook_Hand lerObject</handlerObject>
</zimlet>

When I deploy the zimlet and use Chrome's developer tool to track the error,I keep getting this error:

Uncaught TypeError: Object visibility:hidden;border:0; has no method 'insertBefore' Zimlets-nodev_all.js:1169
_P Zimlets-nodev_all.js:1169
i.Callbacks.e Zimlets-nodev_all.js:886
i.Callbacks.Y_.fireWith Zimlets-nodev_all.js:977
G_.extend.ready

Another strange thing is it works perfectly when I use dev mode (add ?dev=1 param to URL).
Have anyone ever scoped this before?
Viewing all 171 articles
Browse latest View live