I want to create a tab at CMS side that admin can upload as many as image file he wants to
Are there any tutorial I can follow?
How can I set up db?, relationship??
static $db = array();
static $has_one = array();
static $has_many = array();
also this part
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.UploadImage", new ImageField('img', 'Image Upload'));
return $fields;
}
}