Hi,
Do widgets only work for blogs?
I want to be able to embed a video trough the CMS, so I tought a widget would be handy.. but it is not working since i don't use a blog.
For images I always extend a page type like this:
....
static $has_one = array(
'PageMediaFoto' => 'Image',
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Afbeeldingen", new ImageField('PageMediaFoto'));
return $fields;
}
...
Is this also possible for a video?