17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3673 Views |
-
Remove Tabs

21 April 2008 at 7:37pm
Hi there,
For my current project i need to remove some tabs (eg Meta-Data and Reports) from the default cms page view. Studying the documentation didn't really help me.
Any suggestions are welcome ..
regards,
wewo -
Re: Remove Tabs

21 April 2008 at 10:07pm
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->removeFieldFromTab("Root.Content", "Meta-data");
$fields->removeFieldFromTab("Root.Content", "Reports");
return $fields;
} -
Re: Remove Tabs

21 April 2008 at 11:27pm
Hi Sam,
Maybe I mixed up some code, but i tried $fields->removeFieldFromTab() without any effect.
Anyway, now it works
> $fields->removeFieldFromTab("Root.Content", "Reports");
should be
$fields->removeFieldFromTab("Root", "Reports");regards,
wewo
| 3673 Views | ||
|
Page:
1
|
Go to Top |


