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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

ModelAdmin $summary_fields image width

Go to End

11 Posts   6786 Views


Community Member, 78 Posts

2 October 2009 at 8:18pm

Problem is, the link you provided contains information about DataObjectManager instead of ModelAdmin (which this thread is about).
I keep ending up with "Unable to traverse to related object field"
So any other thoughts?


Community Member, 102 Posts

27 November 2009 at 8:13pm


This works fine for me.

       static $has_one = array(
						'Advertiser' => 'Advertiser',
						'AdvertImage' => 'FittedImage',
	static $searchable_fields = array(
						'TargetURL' => 'ExactMatchFilter',
						'Title' => 'ExactMatchFilter',
	static $summary_fields = array(
	public function AdvertImageThumbnail() {
	  return $this->AdvertImage()->CMSThumbnail();



Community Member, 78 Posts

28 November 2009 at 4:04am

Go to Top