Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

[solved] SS3 Model Admin for Data Object Summary


2 Posts   544 Views


17 August 2012 at 5:43pm (Last edited: 17 August 2012 5:44pm), Community Member, 62 Posts

I'm having issues getting the dot-notation working for a has_one of a Page.

class Testimonial extends DataObject {
   public static $db = array(
      'Title' => 'Varchar(255)',
      'Quote' => 'HTMLText',
      'Tagline' => 'Varchar(255)',
      'SortOrder' => 'Varchar(255)'
   public static $has_one = array(
      'BookPage' => 'BookPage',
      'Image' => 'Image'
   public static $summary_fields = array(

And the BookPage is a class that extends 'Page'

The BookPage.Name doesn't work in my SS3 setup. To be clear, I'm trying to view the BookPage Column so I know which page ("Book") has the testimonial.


17 August 2012 at 9:24pm (Last edited: 17 August 2012 9:25pm), Community Member, 62 Posts

I jumped off the github version and grabbed Silverstripe's stable download to get things working for my summary fields. It looks like I'll be staying with stable releases from now on.