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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Item/Order Numbers for DataObjectManager Items


Go to End
Reply


2 Posts   755 Views

Avatar
DeklinKelly

Community Member, 197 Posts

11 August 2011 at 1:39am

Edited: 11/08/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); 

Avatar
UncleCheese

Forum Moderator, 4096 Posts

16 August 2011 at 1:35am

Did you try 'Pos' ?