Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » ImageField in Widget

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

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

Page: 1
Go to End
Author Topic: 1959 Views
  • Blackdog
    Avatar
    Community Member
    156 Posts

    ImageField in Widget Link to this post

    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.

  • erhan
    Avatar
    Community Member
    6 Posts

    Re: ImageField in Widget Link to this post

    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

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