Commit Graph

60 Commits

Author SHA1 Message Date
Daniel Hensby
1bbaba52e0
Merge branch '1.1' into 1.2 2017-01-25 13:30:01 +00:00
Daniel Hensby
616bcdb364
Merge branch '1.0' into 1.1 2017-01-25 13:24:17 +00:00
rasstislav
86bf12a181 Update Widget.php 2016-09-07 16:58:24 +02:00
torleif
3bc304b844 FIX: use correct ID if it exists. Fixes #133 2016-07-18 11:12:46 +12:00
Daniel Hensby
36ccdf2ebc
Merge pull request #128 from torleif/patch-2 2016-07-14 00:32:45 +01:00
torleif
987d29341e Fix: #127 - generate unique ID upon creation
Fixes front end components that require a unique ID. Duplicate IDs in the DOM is invalid HTML.

Fix: #127 - code formatting

Check validation before writing

BUG fixes duplicate ID issue Fixes #127

BUG fixes duplicate ID issue Fixes #127

remove unneeded write()

Fix: #127 - generate unique ID upon creation
2016-07-14 10:20:23 +12:00
torleif
e6ea99ac12 #129 - FIX: htmlfield editor will be created correctly 2016-06-21 15:44:37 +12:00
Stefan Eickhoff
65b72e6474 ItemsToRender might return NULL // avoid warnings 2015-12-06 01:04:35 +01:00
helpfulrobot
130e9d06a1 Converted to PSR-2 2015-11-18 17:08:21 +13:00
John Milmine
0f207180b4 Making widgets able to be used in a non page controller 2015-11-11 15:01:03 +13:00
Matthew Hailwood
ff0178330a Support widget forms with InheritSidebar
Currently the system assumes that if a widget ends up at "handleWidget" that the widget resides on the current page. This patch checks if we are inheriting the sidebar and if so finds the top level page with the widget.
2015-09-22 13:42:20 +12:00
Damian Mooyman
ed6114a7dc BUG Fix incorrect extension variable
Fixes silverstripe/silverstripe-blog#233
2015-05-14 10:50:33 +12:00
Ingo Schommer
f2f6b6e18c 3.2.x compat 2015-04-30 22:49:17 +12:00
UndefinedOffset
54599b98d1 BUGFIX: Fixed issue where Widget::CMSEditor() can't see the enabled checkbox 2015-04-01 11:55:08 -03:00
Damian Mooyman
b23606b498 API Enable Title to be CMS driven
FIX issue with field scaffolding hiding the "Enabled" checkbox
FIX Safe escaping of CMSTitle / Description fields
2015-03-06 15:41:28 +13:00
Damian Mooyman
9c678ca540 Remove reliance on $_REQUEST global
Update to support 4.0
Alias dev-master as 1.0
2015-03-06 12:04:10 +13:00
Michael Parkhill
8ee406675e Merge pull request #73 from webbuilders-group/master
Proposed fix for issue #25
2014-08-06 16:03:50 +12:00
Will Rossiter
575654459c Remove sort from CMS. (Fixes #75) 2014-07-02 09:16:53 +12:00
Will Rossiter
2baa195282 Remove ParentID field from the fields
This should not be manually set by default.
2014-07-02 09:14:12 +12:00
UndefinedOffset
025604971c Proposed fix for issue #25 2014-06-17 15:33:02 -03:00
Will Rossiter
6b67ee0ff8 Scaffold widget form fields by default 2014-03-09 21:06:52 +13:00
Daniel Hensby
cad7a65040 FIX Setting $only_available_in to private visibility
Config engine throws deprecation warnings when this is accessed through the Config engine
2013-10-15 10:54:21 +01:00
Michael Parkhill
fb655f3862 Merge pull request #67 from Sixfifty/patch-1
Fixed locale for AJAX requests on addWidget.
2013-08-19 20:16:50 -07:00
Michael Parkhill
d1586a5b5e Merge pull request #59 from Mark-M/patch-1
FIX #58 on page duplicate
2013-08-19 20:16:12 -07:00
Michael Parkhill
b28a6b27d6 Merge pull request #66 from tractorcow/inherit-sidebar-fix
BUG Fixed issue with nested InheritSideBar not inheriting beyond the first level
2013-08-19 20:14:12 -07:00
Ryan Wachtl
eb092e7395 Use Config to get Widget::$only_available_in
Added support for use of Config to set Widget::$only_available_in so widgets bundled with other modules can be hidden, ex. blog module.
2013-08-16 19:46:39 -05:00
Thomas Speak
6c91c62ec0 NEW Adding support for Translatable
At the moment, when using Translatable on a site, if you use the Tranlate tab to create a translated version of the page, the WidgetAreaID is retained and you experience the same issue as reported in #58

Related to: #59
2013-08-08 14:28:11 +01:00
Sixfifty
1013e216c2 Fixed locale for AJAX requests on addWidget.
Currently locale is ignored with AJAX add requests, this patch sends the form locale with the request.
2013-08-06 16:30:24 +01:00
Damian Mooyman
82ad362b44 BUG Fixed issue with nested InheritSideBar not inheriting beyond the first level 2013-08-02 13:25:10 +12:00
Michael Parkhill
8e27c175a9 Merge pull request #62 from jedateach/fortemplate
Added forTemplate function on Widget
2013-07-25 13:58:39 -07:00
Jeremy Shipman
96f2fa90fe Added forTemplate function on Widget 2013-07-24 13:49:25 +12:00
Jeremy Shipman
a10546b23d Added summary fields 2013-07-24 13:44:58 +12:00
Mark-M
d56c5398ac FIX #58 on page duplicate
Fixing issue #58 where WidgetAreas end up being linked to multiple pages at once
2013-07-08 13:42:54 +01:00
MattyBalaam
1a1920a004 Update WidgetPageExtension.php
Changing statics to private to be 3.1 compatible. 

I’m not sure, but would 'SideBarView' need to be defined as an allowed_action too?
2013-05-21 14:30:51 +02:00
Sean Harvey
69b53aefd1 Merge branch '0.1' 2013-05-13 22:27:10 +12:00
Christopher Darling
2ad1339c47 Removed whitespace fixes #53 2013-05-09 18:14:28 +02:00
NoBone
e9ff9d64e1 Update Widget.php 2013-05-08 22:14:20 +12:00
NoBone
22b7790307 Update WidgetAreaEditor.php 2013-05-08 22:14:12 +12:00
Will Rossiter
0536ad31ce FIX: Ensure available widgets list is consistent between versions (#6292) 2013-05-07 22:22:41 +12:00
Will Rossiter
dd6ffbfaf8 FIX: WidgetControllerTest failing due to 3.1 API. Update package information 2013-05-07 20:56:38 +12:00
NoBone
9ee3b893fb Update WidgetAreaEditor.php 2013-04-22 16:18:07 +03:00
NoBone
b27351533f Update Widget.php 2013-04-22 16:17:29 +03:00
Ingo Schommer
d83f0d2ae0 NEW Added WidgetPageExtension 2013-04-16 16:07:41 +02:00
Ingo Schommer
47d52a66f4 Removed extraneous declarations 2013-04-16 15:51:33 +02:00
Michael Parkhill
5eabb1b305 Merge pull request #45 from g4b0/check-array-before-shifting
Bugfix: check array before shifting
2013-04-02 13:05:27 -07:00
g4b0
fe85c64afb Bugfix: check array before shifting 2013-04-02 09:04:15 +02:00
Ingo Schommer
8bcddb55ce 3.1 compatibility 2013-04-01 21:40:30 +02:00
Ingo Schommer
d0c671d8da Using Config API in widgets 2013-03-20 14:00:54 +01:00
Mike Parkhill
e7e731a13b MINOR: corrected the spelling error in the controller extension file name, fixes #30 2013-01-07 10:43:40 +13:00
Stig Lindqvist
135792bd96 MINOR Adding docblocks for class methods. 2012-10-06 10:49:28 +13:00