If myobject fields code is something like this:
public function getCMSFields_forPopup()
{
return new FieldSet(
new DropdownField('Status','Status',singleton('Product')->dbObject('Status')->enumValues()),
new TextField('ProductName', 'Product Name'),
new SimpleWysiwygField('Description', 'Description'),
new TextField('Price', 'Price'),
new ImageField('Photo', 'Product photo'),
new FileIFrameField('Manual', 'Product manual')
);
}
where i put then the
foreach($this->getTranslationFields() as $field) {
$f->addFieldToTab("Root.Translations", $field);
}
do i have to add it to the page controling the dataobject?