Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

removefieldFromTab - Doesn' t remove Tap on other Language

Go to End

2 Posts   2568 Views


Community Member, 146 Posts

27 May 2009 at 10:35pm

Hi there, if I use

$fields->removefieldFromTab('Root.Content', 'Meta-data');

the Root.Content.Meta-data Tab will be hidden in the Backend, if I choose english for my Language. But, if I change the Lanuage to german where Meta-data is called Metadaten, the Tab isn't removed. This is not that big Problem, but I'm writing a module which should be available in more Languages than german and english.

Is the only chance, to remove this tab in other languages, to add it as removefield for every language?

$fields->removefieldFromTab('Root.Content', 'Metadaten');


Community Member, 146 Posts

27 May 2009 at 10:38pm

Found a solution. 'Meta-data' is already a translation. The Field normaly is called 'Metadata'.