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 08-25-2008, 07:31 AM
Intermediate Member
 
Posts: 24
Default "Hello world" zimlet showing up?

I am trying to follow the wiki's instructions for creating a "Hello world" zimlet at HelloWorldZimlet - Zimbra :: Wiki, and have (I believe) successfully followed the instructions and goten expected output, up to running "/opt/zimbra/bin/zmzimletctl listZimlets" and getting com_zimbra_hello to show up in all three of "Installed Zimlet files on this host:", "Installed Zimlets in LDAP:", and "Available Zimlets in COS:".

However, I am having trouble seeing the Zimlet in the UI. I haven't done anything from my user account other than what I mention below to refresh the Zimlet list, but I tried and I can't see anything that looks like a hello anything Zimlet available. I tried a browser shift-reload, logging out and in again, attempting an /etc/init.d/zimbra restart (which seemed to hang indefinitely), and after that hung, rebooted the machine--Zimbra seemed to come up fine, but no new Zimlet.

Is there anything besides the steps in the Wiki page linked above, that I can or should do to cause the "Hello, world!" Zimlet to show up?

Thanks,
__________________
Jonathan Hayward, christos.jonathan.hayward@gmail.com

To see an award-winning website with stories, essays, artwork, games, and a four-dimensional maze, why not visit my home page? All of this is waiting for you at JonathansCorner.com.

Would you like to curl up with one of my hardcover books? You can now get my books from CJSHayward.com.
Reply With Quote
  #2 (permalink)  
Old 08-25-2008, 09:16 AM
Zimlet Guru & Moderator
 
Posts: 288
Default

-Send yourself a message containing "Hello World".
-Open it

If "Hello World" is highlighted and a mouse over give you a tooltip "Hello World Zimlet", then it works!

If it doesn't, try by putting your zimlet in a _dev folder :
ZimletWritingTip
Reply With Quote
  #3 (permalink)  
Old 08-25-2008, 12:18 PM
Intermediate Member
 
Posts: 24
Default

Thanks; it's worked.
__________________
Jonathan Hayward, christos.jonathan.hayward@gmail.com

To see an award-winning website with stories, essays, artwork, games, and a four-dimensional maze, why not visit my home page? All of this is waiting for you at JonathansCorner.com.

Would you like to curl up with one of my hardcover books? You can now get my books from CJSHayward.com.
Reply With Quote
  #4 (permalink)  
Old 10-13-2008, 12:06 PM
New Member
 
Posts: 4
Default Can't get HW zimlet to work under Windows zdesktop

Hi. I am trying to get the simple Hello World xml-only zimlet as described in

HelloWorldZimlet - Zimbra :: Wiki

using the _dev directory method described at

ZimletWritingTip - Zimbra :: Wiki


I placed this xml in the _dev directory:

<zimlet name="com_zimbra_hello" version="1.0" description="Hello World">
<contentObject>
<matchOn>
<regex attrs="ig">Hello World</regex>
</matchOn>
<toolTip>Hello World Zimlet</toolTip>
</contentObject>
</zimlet>

under filename com_zimbra_hello.xml and restarted zdesktop.

No HW zimlet appears in the zimlets section of the GUI. I also tried sending myself an email containing the string "Hello World" but the string is not underlined or highlighted.

Does the _dev directory work in the windows version of zdesktop?
Reply With Quote
  #5 (permalink)  
Old 10-14-2008, 12:18 AM
Zimlet Guru & Moderator
 
Posts: 288
Exclamation

Don't put the xml file directly in "_dev" :
-create a folder "com_zimbra_hello" in "_dev"
-Put the file "com_zimbra_hello.xml" in "com_zimbra_hello"
Reply With Quote
  #6 (permalink)  
Old 10-14-2008, 07:00 AM
New Member
 
Posts: 4
Default

Works! Thanks tdesorbaix.
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.