Hello
To add a tab in the cms I usually do somethin like this :
class EditorialPage extends Page {
static $db = array(
'Phrase' => 'HTMLText',
);
}
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.Phrase', new HtmlEditorField('Phrase'));
}
and the variable in my template is $Phrase
Now to change the name of the tab in the cms but not the variable name do I have to writte it like this :
$fields->addFieldToTab('Root.Content.AnotherName', new HtmlEditorField('Phrase')); ?
Thank you
T