Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 10-05-2005, 01:05 PM
Member
 
Posts: 10
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?
Reply With Quote
  #2 (permalink)  
Old 10-05-2005, 01:21 PM
Zimbra Employee
 
Posts: 4,792
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
Reply With Quote
  #3 (permalink)  
Old 06-03-2006, 05:51 AM
New Member
 
Posts: 4
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..
Reply With Quote
  #4 (permalink)  
Old 06-05-2006, 09:00 AM
Zimbra Employee
 
Posts: 4,792
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 06-05-2006, 09:02 AM
Moderator
 
Posts: 451
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)
__________________
http://perceiva.com

Last edited by gmsmith; 06-05-2006 at 10:14 AM..
Reply With Quote
  #6 (permalink)  
Old 06-05-2006, 10:10 AM
New Member
 
Posts: 4
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
Reply With Quote
  #7 (permalink)  
Old 06-05-2006, 01:21 PM
Zimbra Employee
 
Posts: 4,792
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
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #8 (permalink)  
Old 06-05-2006, 01:51 PM
New Member
 
Posts: 4
Default

Thanks Kevin!
I will have a look
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.