Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » WidgetAreaEditor not functioning

Discuss SilverStripe Widgets.

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

Page: 1 2
Go to End
Author Topic: 1316 Views
  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: WidgetAreaEditor not functioning Link to this post

    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
  • DubbeleJ
    Avatar
    Community Member
    9 Posts

    Re: WidgetAreaEditor not functioning Link to this post

    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.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: WidgetAreaEditor not functioning Link to this post

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

    1316 Views
Page: 1 2
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.