Jump to:

1131 Posts in 1965 Topics by 402 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Upgraded to 2.4.5, news function no longer working

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1
Go to End
Author Topic: 1370 Views
  • doubleedesign
    Avatar
    Community Member
    19 Posts

    Upgraded to 2.4.5, news function no longer working Link to this post

    When I created my site I followed the tutorial to create a latest news feature. The latest news displays in three locations - the main "News Feed" page, the Homepage, and a "News & Events" page that is the parent of the News Feed. So the .php files in mysite/code for these page types contains a latest news function.

    I have just upgraded SilverStripe to the latest version, and the news no longer shows up in any of these locations. If I type in the full URL of an article, it comes up - so the pages themselves do actually exist. I also tried changing the .ss files to use <% control ChildrenOf(news-feed) %> as a temporary measure but this didn't work either.

    I have flushed all the relevant templates, and deleted and re-created the Homepage (as I had an issue with this page as well which is now resolved), News Feed and articles. Nothing has worked.

    I also tried a suggestion I saw on another thread to put the LatestNews function in the PageController class in page.php, to no avail.

    Any advice would be greatly appreciated, I'm very stuck about what to try next.

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