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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Widgets /

Discuss SilverStripe Widgets.

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

WidgetAreaEditor not functioning


Go to End


11 Posts   4560 Views

Avatar
swaiba

Forum Moderator, 1899 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...

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, 1899 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