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 02-19-2007, 05:03 PM
Junior Member
 
Posts: 6
Default What are the page names

Hello, does anyone know how to determine what a particular page's name is and where to find it in the files.

We need to customize the compose mail page and can't seam to determine the file name for that page and where it is located.

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 05:51 PM
Zimbra Employee
 
Posts: 1,434
Default AJAX or HTML?

If you mean the AJAX client, there is no such "page". The entire AJAX app is one huge amalgamation of JavaScript code. It's written to the MVC paradigm, which means that there are .js files corresponding to the model, view and controller for compose: ZmComposeController.js, ZmComposeView.js, and ZmMailMsg.js. These .js files aren't standalone, but they're probably the best place to start looking as long as you have a very good grasp of JavaScript.

If you mean the HTML "lite" client, just use the path in the URL ("h/compose") to find the relevant JSP page that generates it. In the source tree, it's ZimbraWebClient/WebRoot/h/compose. Note again that this is a JSP page and not a straight HTML file, so you're going to need to understand JSP and the Zimbra taglib before trying to modify it.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 06:49 PM
Junior Member
 
Posts: 6
Default The HTML of the page

Thanks, so what we want to do is adjust the html of the compose email page. We are using the Network Edition. Not sure what the "lite" is.

Thanks

Last edited by arww; 02-19-2007 at 06:51 PM..
Reply With Quote
  #4 (permalink)  
Old 02-19-2007, 09:59 PM
Zimbra Employee
 
Posts: 1,434
Default AJAX or HTML?

The AJAX version is at http://server.example.com/zimbra/mail. The HTML version is at http://server.example.com/zimbra/h/. Check your URL and you should be able to tell which one you're using.

And note that neither has HTML you can edit as a simple .html file. As I said, the AJAX compose is a set of JavaScript files, which the HTML-only compose is a JSP file.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!

Last edited by dkarp; 02-19-2007 at 10:03 PM.. Reason: wrong URL
Reply With Quote
  #5 (permalink)  
Old 02-19-2007, 10:32 PM
Former Zimbran
 
Posts: 5,606
Default

Quote:
Originally Posted by arww View Post
We need to customize the compose mail page and can't seam to determine the file name for that page and where it is located.
Just a friendly reminder that if you are using the community edition, there are certain licensing terms that you must obey:
http://www.zimbra.com/license/zimbra...cense_1.2.html

Not saying that you're going to violate them

-john
Reply With Quote
  #6 (permalink)  
Old 02-20-2007, 08:01 AM
Junior Member
 
Posts: 6
Default Web docs for which browswer can ask

OK, thanks so much for your help. Presuming we're using the Ajax Client, JavaScript files cannot stand alone and must be referenced by a SCRIPT tag in some web document for which the browser can ask. Can I get a list (path and name) and description of such basic web documents? ...even if they are not .htm or .html files?

We are using the Network Edition, not the community edition.

Thanks again, really appreciate it.
Reply With Quote
  #7 (permalink)  
Old 02-20-2007, 09:24 AM
Zimbra Employee
 
Posts: 1,434
Default That, I can't help with

As a matter of fact, I don't know the name of the single container for the entire AJAX app. Sorry about that!

But yet again I need to let you know that there is no content in that file (whatever it may be). I believe that it's completely blank other than loading the <SCRIPT>s.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #8 (permalink)  
Old 02-20-2007, 10:14 AM
Zimbra Employee
 
Posts: 4,792
Default

The main user app gets loaded from launchZimbraMail.jsp
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 02-20-2007, 02:58 PM
Zimbra Employee
 
Posts: 52
Default

In terms of the Ajax client, there's really no such thing as "adjust the html". A browser represents a DOM tree. You can create a DOM tree by sending HTML to the browser (which parses it and creates DOM elements). You can also create and modify DOM elements programmatically through JavaScript, which is what Ajax apps do. Our compose page has no underlying HTML source. To change its appearance, you'll need to understand Javascript and CSS.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.