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.

Widgets /

Discuss SilverStripe Widgets.

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

WidgetAreaEditor not functioning


Go to End
Reply


11 Posts   1422 Views

Avatar
swaiba

Forum Moderator, 1799 Posts

17 August 2012 at 2:49am

OK - I have a fresh 3.0.1 install and with UndefinedOffset version

it shows the widgets on the left (under Available widgets)
but when I click on them they are not transfered to the right (Widgets currently used) instead I see the following...

Attached Files
Avatar
DubbeleJ

Community Member, 9 Posts

17 August 2012 at 2:59am

First question, have you done a dev/build?flush=all

Second, could you copy/paste the entire content of that notice? It now only shows the first part of the string.

Avatar
swaiba

Forum Moderator, 1799 Posts

17 August 2012 at 8:35pm

Edited: 17/08/2012 8:35pm

First question, have you done a dev/build?flush=all

yep

Second, could you copy/paste the entire content of that notice? It now only shows the first part of the string.

ok, so how lazy was I? Also how much of a pain is moving to SS3 going to be *sigh*

so my problem was...

      return new FieldSet(
         new TextField('Text', _t('IEDectiontionWidget.TEXT', 'Text to show in the widget and alert'))
      );

needed to be...

      return FieldList::create(
         TextField::create('Text', _t('IEDectiontionWidget.TEXT', 'Text to show in the widget and alert'))
      );

Go to Top