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.

Customising the CMS /

removefieldFromTab - Doesn' t remove Tap on other Language


Reply


2 Posts   2172 Views

Avatar
Andre

Community Member, 126 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');

Avatar
Andre

Community Member, 126 Posts

27 May 2009 at 10:38pm

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