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.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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.
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