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.

Archive

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

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

ImageField in Widget


Reply

2 Posts   2015 Views

Avatar
Blackdog

22 July 2008 at 2:46am Community Member, 156 Posts

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

30 July 2008 at 9:52pm Community Member, 6 Posts

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