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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Removing text content from Tabs in CMS


Reply


1269 Views

Avatar
RWasher

Community Member, 1 Post

7 December 2008 at 12:07am

Edited: 07/12/2008 12:09am

Woo my first thread!

I'm wondering how to remove text from the tabs in the CMS. I managed to find the names of all the tabs by doing a print_r of getCMSFields() and hunting for name attributes which allowed me to remove various fields, but all the text (Literal Fields?) have blank name's..

As an example, I use the below code to remove the HomepageForDomain field in the Behaviou tab:

$fields->removeFieldFromTab('Root.Behaviour','HomepageForDomain');

But I am left with the now-superfluous text: Use this page as the 'home page' for the following domains: (separate multiple domains with commas), which I have no idea how to remove. Can anyone shed some light on this?