7913 Posts in 1355 Topics by 930 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 447 Views |
-
Item/Order Numbers for DataObjectManager Items

11 August 2011 at 1:39am Last edited: 11 August 2011 1:39am
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);
| 447 Views | ||
|
Page:
1
|
Go to Top |

