Hello
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="mailto:name@adress.com">name</a>
Any clue ?
Thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello
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="mailto:name@adress.com">name</a>
Any clue ?
Thanks
that's not so difficult - just add a fixed menu item into your templates dynamic menu structure. Something like this (very simplified):
<ul>
<% control Menu(1) %>
<li><a href="$Link">$MenuTitle</a></li>
<% end_control %>
<li><a href="mailto:name@adress.com">name</a></li>
</ul>