Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Tab extension children pages

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 331 Views
  • Paco728
    Community Member
    28 Posts

    Tab extension children pages Link to this post

    Hey Guys,

    I would like that the table created is not seen on the children pages. This is the tab:

    static $has_one = array(
    'Logo1' => 'Image',
    'Logo2' => 'Image'

    function getCMSFields() {
    $fields = parent::getCMSFields();
    $fields->addFieldToTab("Root.Content.Logo", new ImageField('Logo1'));
    $fields->addFieldToTab("Root.Content.Logo", new ImageField('Logo2'));
    return $fields;

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.