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
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
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.
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.
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.
Last edited by dkarp; 02-19-2007 at 10:03 PM. Reason: wrong URL
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
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.
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.
The main user app gets loaded from launchZimbraMail.jsp
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)