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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-14-2008, 10:42 PM
joshm joshm is offline
Junior Member
 
Join Date: Apr 2008
Posts: 6
joshm is on a distinguished road
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, 06:35 AM
java_macchiato java_macchiato is offline
Junior Member
 
Join Date: Mar 2008
ZCS Version: Release 5.0.4_GA_2101.RHEL5_64_20080321141727 RHEL5_64 NETWORK edition
Posts: 9
java_macchiato is on a distinguished road
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, 02:08 PM
joshm joshm is offline
Junior Member
 
Join Date: Apr 2008
Posts: 6
joshm is on a distinguished road
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
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a button in the right-click menu of all contacts by a Zimlet Yokomie Zimlets 0 03-03-2008 10:43 PM
How can i add buttons to the compose toolbar? MyMoon Developers 1 10-05-2007 08:08 AM
Zimbra + Samba LDAP, cannot add winxp fajarpri Installation 4 07-08-2007 11:45 AM
where are my zimlets ? santo Zimlets 21 06-05-2007 07:30 AM
How to get rid of Zimlets menu bar daimer77 Zimlets 8 04-27-2006 11:36 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0