Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DOM Summary Fields

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 1383 Views
  • ciaranhickey
    Community Member
    17 Posts

    DOM Summary Fields Link to this post


    I wondering if it's possible to display only a selection of my fields in the dataobjectmanager list view. I've tried using summary_fields and have tried the approach as suggested here but to no avail...


    static $summary_fields = array(
    'FieldName' => 'Column Name'

    function summaryFields() {
    return self::$summary_fields;

    My main problem is that one of my fields for each item contains quite a lot of text content and so is pushing down each object in my list view in the backend. You can see a screen grab of my issue here, ideally I'd like to hide "Text" column in the listview but have it appear in pop-up.

    Any help would really be appreciated.


  • ciaranhickey
    Community Member
    17 Posts

    Re: DOM Summary Fields Link to this post

    Managed to solve this with an obvious solution.

    Removed the Field from array of fields in the dataobjectmanager declaration:

    new DataObjectManager(
       array('Name' => 'Name', 'Position' => 'Position', 'Location' => 'Location', 'Intro' => 'Intro'),

    but left it in the getCMSFields_forPopup method.

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.