Im sure this must be simple but I can find out how to do it! :(
I just want to return the entire site URL... i.e. www.mysite.com/parent/child/grandchild
something like $URL ?
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.
Im sure this must be simple but I can find out how to do it! :(
I just want to return the entire site URL... i.e. www.mysite.com/parent/child/grandchild
something like $URL ?
Thanks
$AbsoluteLink / $Link is the standard pattern for returning a link to an object.