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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Widgets /

Discuss SilverStripe Widgets.

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

Tabset on a Widget, problem saving widget data on SS 3.0.5

Go to End

2 Posts   1717 Views


Community Member, 2 Posts

10 April 2013 at 5:35am

Edited: 11/04/2013 9:21pm

I have a lot a info to put on a widget so I'm trying to organize it with tabs, but I can't save the widget data using the tabset and tab object.

I dont have errors nothing.

It shows perfect strutured tabs on the CMS but it wont save any parameters on the CMS !!

Realy apreciate any help !!

class SWidget extends Widget{
            function getCMSFields()    {
               $fields = new FieldList(
                        new TabSet(
                               new Tab(
                                    new HeaderField('Conf header', 4), 
                                    new TextField('WidgetTitle', ' title', $this->WidgetTitle, 25)                                           

        return $fields;


Community Member, 26 Posts

6 November 2013 at 9:36pm

I have the same problem. Organizing the fields in Tabs does not work. All fields are displayed well. No errors on submit. Nut no value stored in the database, only the default values.

In my case I am using ss 3.0.5 since I can´t get widgets to work on 3.1.1. I don´t care about that, 3.0.5 is still ok, if it works.

Installed the widgets module.
Created new widget Widget1 and Widget2
Created a widget extension for both Widget1 and Widget2