Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

menu item mailto

Go to End

2 Posts   957 Views


Community Member, 211 Posts

12 June 2011 at 7:06am


This must be a dumb question but I would like to set up a menu item so when I click on it just triggers a mailto
<a href="">name</a>

Any clue ?



Forum Moderator, 1391 Posts

12 June 2011 at 11:15pm

that's not so difficult - just add a fixed menu item into your templates dynamic menu structure. Something like this (very simplified):

	<% control Menu(1) %>
		<li><a href="$Link">$MenuTitle</a></li>
	<% end_control %>
	<li><a href="">name</a></li>