21307 Posts in 5737 Topics by 2603 members
General Questions
SilverStripe Forums » General Questions » SS3 - Widget is not draggable / not able to add widgets
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 401 Views |
-
SS3 - Widget is not draggable / not able to add widgets

19 July 2012 at 8:02am
It's not able to drag widgets in WidgetAreaEditor, does anyone has same problem and know to fix?
-
Re: SS3 - Widget is not draggable / not able to add widgets

19 July 2012 at 11:10pm
Assuming you have downloaded the correct version from https://github.com/silverstripe/silverstripe-widgets - I'd suggest you raise the issue there directly to get a response
-
Re: SS3 - Widget is not draggable / not able to add widgets

20 July 2012 at 3:25am
Thank for quick replying swaiba, i have downloaded the version from your url but i does not work. Below is my code:
class Page extends SiteTree {
public static $db = array();public static $has_one = array(
'Widgets' => 'WidgetArea'
);
static $has_many = array();
/**
* Method to update CMS fields
*/
public function getCMSFields(){
$fields = parent::getCMSFields();
//Widgets
$fields->addFieldToTab('Root.Widgets', new WidgetAreaEditor("Widgets"));
return $fields;
}
}I will use $Widgets to show widgets in the template
-
Re: SS3 - Widget is not draggable / not able to add widgets

20 July 2012 at 3:27am
I think I might program in a "repeat my last reply" button to ss forms... but until then...
I'd suggest you raise the issue there directly to get a response
-
Re: SS3 - Widget is not draggable / not able to add widgets

21 July 2012 at 12:40pm
The official branch for widgets doesn't work.
Use this one for now until the pull request is accepted.
| 401 Views | ||
|
Page:
1
|
Go to Top |



