Hi Uncle Cheese,
Similar problem on SS2.3.7, using DOM2.3 (the zip downloaded via this forum).
When clicking on 'Add photo' button and then on 'Import from an existing folder' -> Select uploads -> Uploads (9 files). I can see the spinner for a moment, but then, nothing comes up...
<?php
class Photo extends DataObject
{
static $db = array (
'Title' => 'Text'
);
static $has_one = array (
'Image' => 'Image',
'Page' => 'Page'
);
public function getCMSFields_forPopup()
{
return new FieldSet(
new ImageField('Image'),
new TextField('Title')
);
}
}
class Photo_Controller extends ContentController {
}
?>
$idom = new ImageDataObjectManager(
$this, // Controller
'Photos', // Source name
'Photo', // Source class
'Image',
array(), // Headings
'getCMSFields_forPopup' // Detail fields (function name or FieldSet object)
);
$fields->addFieldToTab('Root.Content.Photos', $idom);