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 04-14-2008, 11:42 PM
Junior Member
 
Posts: 7
Default Any sample zimlets which add menu items/tabs to the toolbar?

hi,

i've been poking around zimlets for a little time now and am wondering whether it is possible to add, via a zimlet, a button to the menu toolbar that you see when you login to zimbra. [1]

Are there any sample zimlets that do this? From the ones I've tinkered with, I didn't see any that had a button added.


There is some sparse wiki documentation on this subject:
Creating a Menu Bar - Zimbra :: Wiki

and some discussion which seems very promising on this subject:
DwtButton - Zimbra :: Wiki
DwtMenu - Zimbra :: Wiki
DwtMenuItem - Zimbra :: Wiki


However, I'd like to see this in the context of a real example since I'm new to zimbra and js.



I've found some files in this zimbra directory, which seem to have the elements for a button [which I found are called 'Tabs']: zimbra/trunk/ZimbraWebClient/WebRoot/js/zimbraMail/calendar/view

specifically:
ZmSchedTabViewPage.js



Anyhow, I'd like to see if anyone has a zimlet that they can point to or working code that I can learn from to see how this works. I have tweaked with the document on the AjaxTK, but being new to this I've been trying to understand javascript by example.

Why I'm doing this / if you want to understand:
I'm trying to add accessibility options, so when the button is pushed, I want to 'save' and reflect the button is pushed. It seems that I can do this by replacing the image on a click.


[1]

more exactly, I detail what I'm talking about via the following images:

zimbra-menu-idea.jpg

or specifically maybe something within a 'submenu' or 'category', like the calendar:

zimbra-new-cal-entry.jpg
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 07:35 AM
Intermediate Member
 
Posts: 15
Default

Did you see this thread from a couple weeks ago:

First Zimlet - Lessons Learned + Help with Tooltips
Reply With Quote
  #3 (permalink)  
Old 04-16-2008, 03:08 PM
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by java_macchiato View Post
Did you see this thread from a couple weeks ago:

First Zimlet - Lessons Learned + Help with Tooltips

That is fantastic! thank you so much for that insight.

java_macchiato, did you ever add drop down items to your toolbar menu buttons? I will post to your thread.
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.