Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Latest news on every page

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 585 Views
  • Rcls
    Avatar
    Community Member
    2 Posts

    Latest news on every page Link to this post

    Hi!

    I'm not the most skilled coder, but I created a website for a client. I wanted to test out SilverStripe and though it has some annoying little things, like having to upload files on the FTP to get pages or styles to update, or flushing cache every 5 minuets, it works great.

    I downloaded and installed an extension named News. Basically it's NewsHolder (ArticleHolder) and NewsPage (ArticlePage) without having to create the files yourself. It works great, you can view results here: http://www.ossipesonen.fi/www/ss_cms/uutiset/
    But I have a problem. I can't get the "Tiedotteet" or Latest News to show on every page. It only shows on the News page. How can I change this? Should I change something on Layouts/Page.ss ?

    Page.ss

    <% include Menu2 %>

    Menu2.ss

    <% control Menu(2) %>
       <% if Children %>
        <li><p style="padding-top: 10px;"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela">$MenuTitle.XML</a></p>
       <% else %>
          <li><p style="padding-top: 10px;"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela">$MenuTitle.XML</a></p>
       <% end_if %>   
    </li>
    <% end_control %>   

    585 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.