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 07-22-2010, 01:45 PM
Junior Member
 
Posts: 6
Default Custom the creation of appointment

Hi, mi name's Zahit and i'me here because i'm trying to custom the way that zimbra creates an appointment.

Well, i need to edit the fields that zimbra ask you when you create an appointment, because i wanna add some fields that i will use in another database, the connection to the other base is solved, but i can't find the file where is store de the information about this window or box or dialog.

Basically i nedd to find the jsp or the html or the js, where zimbra store this form.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 07-27-2010, 01:52 PM
Junior Member
 
Posts: 6
Default CalendarAppt_all.js.zgz

/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js


I was looking for a solution and i discover this file

CalendarAppt_all.js.zgz


you can unzip this file and you will have this file

CalendarAppt_all.js

This file is diferent to the file called CalendarAppt_all.js in the same location, whell, the js that you take when you unzip the zgz is the file that show you the QuickAdd Appointment dialog, but....

as you can see, the code is difficult to undestand, well, i just wanna add and delete some fields to this dialog, a solution for me is:

1. Unzip -> CalendarAppt_all.js.zgz
2. Delete the code in the new file -> CalendarAppt_all.js
3. write a "window.open ('myDialog.jsp')" in CalendarAppt_all.js
4. Zip again CalendarAppt_all.js whit gzip -S zgz CalendarAppt_all.js
5. Reload the aplication


With this solution i'm near to do it all that i wanna do, but, i can't take some parameters that i need, for example, the start date and the end date i don't know how to extract it.

I know that i need to catch this parameters in CalendarAppt_all.js before that window.open.

If you have some information about this, i will be grateful.

Thanks in advance
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.