× Warning! This forum is in archival status. New contributions may not work.
Recently Commented / Most Read
  • Hello
    At the moment the default tab displayed in the sidebar is 'Recently Commented'. Does anyone know how to change the default to 'Most Read'?
    Thanks in advance 
  • 2 Comments sorted by
  • Hi,
    the simplest way: in template _tpl/sidebar-most.tpl, inside <div id="tabs"> just replace positions of items - instead of 
              <ul>
                <li><a href="#most-comm">{{ #recentlyCommented# }}</a></li>
                <li><a href="#most-pop">{{ #mostRead# }}</a></li>
              </ul>
    let it be
              <ul>
                <li><a href="#most-pop">{{ #mostRead# }}</a></li>
                <li><a href="#most-comm">{{ #recentlyCommented# }}</a></li>
              </ul>
    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric
  • Excellent! 
    Many thanks Ljuba :)