Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Removing text content from Tabs in CMS

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

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

Page: 1
Go to End
Author Topic: 1204 Views
  • RWasher
    Avatar
    Community Member
    1 Post

    Removing text content from Tabs in CMS Link to this post

    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?

    1204 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.