Home links to root of website, which os not where site is stored
  • Every link on the site that is supposed to go to the front page goes to the root of my site.
    So my question is how to I change home to link to my newscoop installation
    image
  • 4 Comments sorted by
  • Links back to the homepage are built like this: <a href="/">Home</a> which leads to the root of the (sub)domain. You can change these links with somethnig like <a href="{{ url options="root_level" }}">Home</a> or <a href="{{ url options="publication" }}">Home</a>
    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric
  • That's cool. I'll go on the pages that have that link and change it. Thanks.
  • Greetings. I'm still having some trouble. I'm not able to find the links.
    Specifically I'm looking for the following:
    Location of the link for the logo at the top (it links to the root of the server instead of the /newscoop/ dir
    Location of the link for the logo at the footer (it links to the root of the server instead of the /newscoop/ dir

    I tried footer.tpl but that seems to only show the location of the logo, not where the link goes.
    Alright thanks.
    peace.
  • Actually, I found it. Thanks to your suggestion. I kept scanning right over it.
    header.tpl
     <h1>                       
                                    <a href="/">
                                        <img class="logo pull-left" src="{{ url static_file='_img/logo.png'}}" alt="{{$gimme->publication->name}}">
                                    </a>

    :)