hi,
my Page.php:
public static $has_many = array(
'Slides' => 'MyImage'
);
...
$slides = new MultipleImageUploadField('Slides', 'Slides');
$fields->addFieldToTab("Root.Content.Slider", $slides);
MyImage.php
class MyImage extends Image {
static $has_one = array (
'Page' => 'Page'
);
}
so, with this I only cann a image to 1 page. If I want add an image also to an other Page it dont work, I cant choose it in uploadify window, its disabled.
this:
class MyImage extends Image {
static $has_many = array (
'Pages' => 'Page'
);
}
also dont work. If I do this, it dont work any more.
How to solve this issue?