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 12-12-2008, 03:41 PM
Senior Member
 
Posts: 73
Default Embed link with custom protocol

Hi gang! Does anyone know how to embed a link into an HTML email, that is using a custom protocol? It looks like the built in link inserter will only format and deal with http://

I would like to insert a link that has something other than http://. Like, how about inserting a link to an FTP server? ftp://servername.dom.com or something like that? When I do that and click in the link on Zimbra (5.0.9), it takes me to about:blank in firefox.

This same email in Mail.app on OSX properly opens up firefox and takes me to the FTP login that was directed from the embedded link.

Any suggestions?

-Jeff
Reply With Quote
  #2 (permalink)  
Old 12-12-2008, 05:25 PM
Moderator
 
Posts: 6,236
Default

For others using the ZWC you can just type ftp://server.domain.com and the com_zimbra_url Zimlet will recognize it/turn it into a link. Most other other providers do something similar - and for those that don't most know to enter it in their address bar.

If you want to change the text shown so "linktype:// server.domain.com/address/path" becomes "Site Name" you could use the Notebook to do so, you can't always in the mail editor because: Bug 33333 - "Insert Link" assumes http:// prefix

Also vote for: Bug 16386 - Raw HTML Source Editor in Mail Compose

Last edited by mmorse; 12-12-2008 at 08:42 PM..
Reply With Quote
  #3 (permalink)  
Old 12-12-2008, 05:38 PM
Senior Member
 
Posts: 73
Default

Thanks for the info Mike! I have voted for, and will follow those bugs.
Reply With Quote
  #4 (permalink)  
Old 06-23-2009, 10:02 PM
Partner (VAR/HSP)
 
Posts: 67
Default

Sounds as though we are try to do something similar, but I am running into an issue. I have modified /opt/zimbra/jetty/webapps/service/zimlet/com_zimbra_url/com_zimbra_url.xml to include our new handler.

If we type the following into a message and send it:

<handler>://<URL>

It is parsed correctly, but if the URL is embedded in an HTML message, we receive an "about:blank" in the href value in FireFox:

<a href="about:blank" target="_blank">Text</a>

If you view the original message's text, the URL is correct in the HTML.

Thoughts? If I run Zimbra though Firebug or Inspector in Safari, I find the regex changes I've made, but I also find references to the old regex.

Any input would be appreciated.

DJS
__________________
CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions
Reply With Quote
  #5 (permalink)  
Old 07-12-2011, 11:52 PM
PhD PhD is offline
Senior Member
 
Posts: 56
Default

id like to bump this...

we have a custom url handler that we use in our company to load video files through an application called RV - and we use rvlink:// as the protocol handler

we have just noticed now that switching to zimbra web, this url does not work for us anymore - when you hover the mouse over the text it shows as if there is a link there, but clicking on it does nothing.

is there a way to add custom url handlers in zcs7 yet?

ive added a bug report here: http://bugzilla.zimbra.com/show_bug.cgi?id=61949

Last edited by PhD; 07-13-2011 at 12:41 AM..
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.