5098 Posts in 1518 Topics by 1115 members
| Go to End | ||
| Author | Topic: | 2371 Views |
-
Re: renameField has no effect

16 March 2012 at 5:00am
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
-
Re: renameField has no effect

10 May 2013 at 12:09pm
for V3:
$f = parent::getCMSFields();
$f->fieldByName('Root.Main')->setTitle('New Name');
| 2371 Views | ||
| Go to Top |

Thanks.

