Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Add extra field to image object

$
0
0

Hi, instead of the getCMSFields function, try this :

function getCustomFields() {
$fields = new FieldList();
$fields->push(new TextField('Variable1'));
return $fields;
}


Posted to: Add extra field to image object | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles