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've moved the forum!

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.

Template Questions /

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

Current site URL on email template


Go to End


2 Posts   2252 Views

Avatar
stellalie

Community Member, 10 Posts

23 October 2011 at 7:27am

This is a very noob questions, been looking around but havent been able to get the answer.

Basically, I would like to display URL of the site on emailtemplate.ss. Is this possible? I know that URL of the site is never stored anywhere..

Avatar
swaiba

Forum Moderator, 1899 Posts

29 October 2011 at 1:31am

have you tried putting $BaseHref into the template?