Working like charm :-) Thanks.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
Hi,
ist much more easier. You dont have to alter the modeladmincode. In your dataobject modell insert the following code.
//Overide the tab labels
static $field_labels = array(
'Content' => 'Other',
'EnglishValue' => 'GermanValue',
);
Known issue: you cannot change 'main' or 'metadata'.
Pipifix
for V3:
$f = parent::getCMSFields();
$f->fieldByName('Root.Main')->setTitle('New Name');
In SS3.1+ this is simply achieved like this
$fields->renameField('Title', 'New Name');
- Previous 10 entries
- 1
- Page 22(current)