Results 1 to 9 of 9

Thread: What are the page names

  1. #1
    Join Date
    Feb 2007
    Posts
    6
    Rep Power
    8

    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

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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!

  3. #3
    Join Date
    Feb 2007
    Posts
    6
    Rep Power
    8

    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.

  4. #4
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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.
    Last edited by dkarp; 02-19-2007 at 10:03 PM. Reason: wrong URL
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    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

  6. #6
    Join Date
    Feb 2007
    Posts
    6
    Rep Power
    8

    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.

  7. #7
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    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!

  8. #8
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    The main user app gets loaded from launchZimbraMail.jsp
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    Join Date
    Sep 2005
    Posts
    55
    Rep Power
    10

    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!

Similar Threads

  1. Remove Account names from GAL
    By g8se in forum Administrators
    Replies: 6
    Last Post: 05-25-2009, 01:38 AM
  2. Login Page Skins
    By mryan in forum Installation
    Replies: 8
    Last Post: 05-13-2008, 12:08 AM
  3. Replies: 11
    Last Post: 06-22-2007, 01:32 PM
  4. Remove URL from page title
    By cmilfo in forum Administrators
    Replies: 4
    Last Post: 05-25-2007, 07:08 AM
  5. Save Page As ...
    By sasha in forum Administrators
    Replies: 11
    Last Post: 11-30-2006, 08:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •