Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Item/Order Numbers for DataObjectManager Items

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: 605 Views
  • DeklinKelly
    Avatar
    Community Member
    196 Posts

    Item/Order Numbers for DataObjectManager Items Link to this post

    In the administrative area, I want DataObjectManager item/order number to be listed in the first column.

    This does NOT work:

    array('Item #' => 'Item ' . $i++, 'Link'=>'Link', 'Text'=>'Text', )

          $obj = new SiteConfig_DataObjectManager(
        $this->owner,
           'FooBarZooph',
           'FooBarZooph',
           array('Link'=>'Link', 'Text'=>'Text', ),
           'getCMSFields_forPopup'
           );
          $obj->setSourceID($this->owner->ID);
          $fields->addFieldToTab("Root.Content.FooBar", $obj);

  • UncleCheese
    Avatar
    4085 Posts

    Re: Item/Order Numbers for DataObjectManager Items Link to this post

    Did you try 'Pos' ?

    605 Views
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.