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:

Template Questions /

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

Logo linking to homepage

Go to End

2 Posts   3409 Views


Community Member, 8 Posts

6 August 2009 at 11:55pm

I'm quite new to SS. How is possible to specify a link for the template logo to the homepage (or other specific page) without hardcoding it?
And, is it possibile, in case of a multi-language site, to have this link that lead to the original or translated version of the page accordingly?

Thanks a lot,


Community Member, 279 Posts

23 August 2009 at 8:10am

$BaseHref gives you the url of your installation.
If the image belongs to your theme: $ThemeDir/images/image.jpg