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


Reply

11 Posts   1348 Views

Avatar
swaiba

17 August 2012 at 2:49am Forum Moderator, 1796 Posts

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

17 August 2012 at 2:59am Community Member, 9 Posts

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

17 August 2012 at 8:35pm (Last edited: 17 August 2012 8:35pm), Forum Moderator, 1796 Posts

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'))
      );