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.

Archive /

Our old forums are still available as a read-only archive.

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

ImageField in Widget


Go to End


2 Posts   2703 Views

Avatar
Blackdog

Community Member, 156 Posts

22 July 2008 at 2:46am

Hi,

I am trying to get ImageField when I set a new FieldSet for my custom widget.

When ever I add ImageField to the cms fields the widget doesn't stay in the active widget area.

thanks.

Avatar
erhan

Community Member, 6 Posts

30 July 2008 at 9:52pm

i have the same problem.

ajax request returns the following error:

<br />

<b>Fatal error</b>:  Call to a member function getRecord() on a non-object in <b>E:\xampplite\htdocs

\silverstripe-v2.2.2\sapphire\forms\ImageField.php</b> on line <b>16</b><br />

and then it calls url "....../Widget_Controller/EditableSegment/NoWidgets" which contains the error

ERROR:Error 512: Bad widget class: NoWidgets

 At l107 in .....\sapphire\widgets\Widget.php