Hi
I am using DataObject for a News area of the site (its a better solution for the design than the blog) - so I have NewsItem.php (that extends the DataObject), NewsPage.php that $has_many NewsItems, and NewsPage.ss that calls all of the news items through <% control NewsItems %>. Each NewsItem has a 'Title' and 'Description' defined.
This all works great.
What I now want to do is pull the latest NewsItem from the above DataObject into Page.php.
Any help would be great
Thanks