Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » Tabs in a Widget

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 1261 Views
  • Anonymous user
    Avatar
    Community Member
    4 Posts

    Tabs in a Widget Link to this post

    Is it possible to add tabs in widgets?

    function getCMSFields()
       {
          $fields = parent::getCMSFields();
          $fields->addFieldToTab('Root.Test', new TextField('BannerTitel', 'BannerTitel'));
          return $fields;
       }

    Gives the error: FATAL ERROR: FieldSet::addFieldToTab() Tried to add a tab to a FieldSet object - 'Root' didn't exist.

  • ImacSS
    Avatar
    Community Member
    35 Posts

    Re: Tabs in a Widget Link to this post

    I would also like to know if this is possible - currently working on trying to get tabs operational in a widget area.

    The path I have taken is to employ jQuery UI tabs in place of the built in ones - so far it's worked ok.

    1261 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.