Mailto Menu Items

Topics: Customizing Orchard
Mar 21, 2012 at 10: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 8:09 PM
Edited Apr 11, 2012 at 8: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 11, 2012 at 11:26 PM

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.