Results 1 to 8 of 8

Thread: Web pull feature

  1. #1
    Join Date
    Oct 2005
    Posts
    10
    Rep Power
    9

    Default Web pull feature

    I have gotten zimbra up and running now I am wonding if there is any documentation on implementing some of the features seen on the demo. How do I enable a google maps lookup based off an address? or how do I enable a tracking number lookup?
    Is there anywhere in the documentation on how to use these features?

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

    Default

    Tracking numbers (Fedex and UPS) are enabled by default. Just view a message with a tracking number in it. Here's a couple you can try:

    1Z68122W0313163808 (UPS)

    792806493888 (FedEx)

    If you've already got some in your mail box a search on "has:tracking" will pull them up since the server is set to index them.


    For Google Maps it's a little bit harder. It also should be noted that the regex for the addresses is *very* simple. So at this time only very simple addresses will work. If you find a more complete regex that will run in Javascript we'd love to see it. Google requires a per host license key to use their API. You can get a license key from here:

    http://www.google.com/apis/maps/signup.html
    Enter the url like: http://<host>/zimbra/
    If you not running on port 80 then also enter the port.

    This will give you a license key in the form of a <script ... </script>

    You'll need to add that line to this file:

    /opt/zimbra/tomcat/webapps/zimbra/public/launchZimbraMail.jsp

    Under this line:
    <script type="text/javascript" src="/zimbra/js/ZimbraMail_all.js<%= ext%>?v=<%= vers %>"></script>

    Make sure to reload the app in the browser for it to take effect.

    If your running in dev mode on localhost and port 7070, you can just uncomment the script tag at the bottom of this file:

    ZimbraWebClient/public/ZimbraMail.jsp

    Then run deploy or dev-sync in ant.

    For a test address try:

    760 Westwood Plz Los Angeles CA 90095

  3. #3
    Join Date
    May 2006
    Posts
    4
    Rep Power
    9

    Question Google maps zimlet

    Thanks for your help Kevin.

    I did exactly what you described, but hovering an addres still gives me the yahoo maps.
    Is there a google maps zimlet needed (can't find one anyway ), or do I have to adjust the yahoo maps zimlet to use it with google maps?

    Rgds
    Raoul

    [edit: spelling]
    Last edited by lazy-r; 06-04-2006 at 02:44 AM.

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

    Default

    There is a Google maps one, but it requires a license key per host. So a bit tricky to setup. Due to this it's been sort of abandoned over the last release or two.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Apr 2006
    Location
    Williamsburg, VA
    Posts
    451
    Rep Power
    9

    Default

    Is the google maps zimlet still in the CVS? The CVS Web has been behaving badly the last couple days.(Java heap space errors)
    Last edited by gmsmith; 06-05-2006 at 10:14 AM.

  6. #6
    Join Date
    May 2006
    Posts
    4
    Rep Power
    9

    Default

    So, i got a license key, and set everything up like described above.
    I downloaded the CVS, but unfortunately, there's no Google maps zimlet in there .

    Is there anyway I can get the Google maps zimlet (perhaps from an older version?), or do I have to code it myself?

    Too bad the Google maps zimlet is not in the standard release anymore. Ok, I understand it's somewhat difficult to set up, but you can at least give the user a choice. Google maps is sooo much better than Yahoo maps. Especially because I live in the Netherlands, and the maps of Yahoo are not detailed at all.

    If anyone has the Google maps zimlet please tell me how to get it

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

    Default

    I bounced the web CVS so it should be happy now.

    The old Google Maps Zimlet is not in full Zimlet form. So it would require some work to get going again. Another problem I didn't mention earlier is that Google doesn't expose a Geocoding API. So we have to use Yahoo to convert the address into Lat/Long. Bottom line is the Google Maps api team made things a good bit harder on the developer than Yahoo maps.

    The old Google Maps code is here:

    ZimbraWebClient/WebRoot/js/zimbraMail/mail/view/object/ZmAddressObjectHandler.js
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #8
    Join Date
    May 2006
    Posts
    4
    Rep Power
    9

    Default

    Thanks Kevin!
    I will have a look

Similar Threads

  1. [SOLVED] Trouble with Documents Feature
    By Jazzhands in forum Installation
    Replies: 3
    Last Post: 05-09-2008, 06:00 AM
  2. Replies: 3
    Last Post: 10-24-2007, 08:38 PM
  3. Need Help Troubleshooting Web Client Issues
    By soxfan in forum Administrators
    Replies: 2
    Last Post: 03-23-2007, 05:27 AM
  4. postfix crash. Where is the log?
    By partypooper in forum Administrators
    Replies: 3
    Last Post: 11-30-2006, 03:37 PM
  5. Web server and ZIMBRA
    By hector in forum Installation
    Replies: 1
    Last Post: 10-04-2006, 01:33 AM

Posting Permissions

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