Jump to:

3445 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » Logo linking to homepage

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

Page: 1
Go to End
Author Topic: 1458 Views
  • antonio.volpon
    Community Member
    8 Posts

    Logo linking to homepage Link to this post

    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,

  • baba-papa
    Community Member
    279 Posts

    Re: Logo linking to homepage Link to this post

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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.