1155 Posts in 2568 Topics by 408 members
|Go to End|
4 March 2011 at 10:31am Last edited: 4 March 2011 10:36am
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.
|Go to Top|