Jump to:

3434 Posts in 1026 Topics by 866 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: 1429 Views
  • antonio.volpon
    Avatar
    Community Member
    8 Posts

    Logo linking to homepage Link to this post

    Hi.
    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,
    Antonio

  • baba-papa
    Avatar
    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

    1429 Views
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.