This project is read-only.

Mailto Menu Items

Topics: Customizing Orchard
Mar 21, 2012 at 11:49 PM

I'm trying to create a menu item that is a mailto: link.  But it wants to add a / to the front.  I'm using the Advanced Menu module, but I tried it even before that, so I'm reasonably sure that isn't breaking anything.

Any suggestions.

Apr 11, 2012 at 9:09 PM
Edited Apr 11, 2012 at 9:10 PM

Nobody else wants to do this or has any workarounds huh?  I'm pretty fed up with DNN, that thing is a beast, but this mailto issue is holding me back on using Orchard for my current project.

Apr 12, 2012 at 12:26 AM

NavigationManager has a white list of accepted protocols for links that only admits relative URLs, http and https. Mailto links are bad practice unless you really like spam ;) I would set-up a contact form instead, as I suppose that's what you're trying to do.