Commit Graph

48 Commits

Author SHA1 Message Date
helpfulrobot
130e9d06a1 Converted to PSR-2 2015-11-18 17:08:21 +13:00
Ingo Schommer
f2f6b6e18c 3.2.x compat 2015-04-30 22:49:17 +12: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
Stig Lindqvist
c2788985e7 MINOR Adding visibility keywords to methods and class variables. 2012-10-06 10:39:49 +13:00
Stig Lindqvist
e90577ee6c API CHANGE Removed unused variables 2012-10-06 10:35:02 +13:00
Stig Lindqvist
57a95c1484 MINOR Tabs must be used to indent lines and line lenght preferable less than 100chars. 2012-10-06 10:27:02 +13:00
Niklas Forsdahl
9a6fd502b7 ENHANCEMENT: Made title, cmstitle and description on widgets translatable
Made title, cmsTitle and description properties translatable for widgets by using the _t() function
in the properties respective getters (using the static property as the default translation as not
to change the behaviour when no translations exist). Uppercase TITLE, CMSTITLE and DESCRIPTION
translation strings used...
2012-09-28 12:16:26 +03:00
Mike Parkhill
96769ebd37 Merge pull request #7 from creamarketing/widgetareaeditor-enable-chosen
BUG: Enable chosen in WidgetAreaEditor fields.
2012-08-30 14:08:14 -07:00
Niklas Forsdahl
78bfae971d BUG: set current locale when fetching editable widget segment
Set the current locale before rendering the editable widget segment
(if the Translatable module is installed)
2012-08-30 11:50:51 +03:00
Niklas Forsdahl
ad99ac8fa2 BUG: Enable chosen in WidgetAreaEditor fields.
Fixed by having Widget::CMSEditor return a FieldList (with fields from
getCMSFields) for showing DropdownFields and ListboxFields correctly,
and by using FormField::saveInto() for saving the data in
Widget::populateFromPostData().
2012-08-30 10:09:49 +03:00
Ed
3c99b0f23a Issue #4: Adds missing requirements for WidgetAreaEditor
NEW: Updates WidgetAreaEditor images to fit new design

BUG: Removes use of deprecated method Name() on FormField
2012-08-09 17:09:57 +01:00
Sam Minnee
025ee424c4 NEW: Add an extension that provides the <page-url>/widget/<widget-id> URL as part of the widgets module. (Trac #7174)
The handleWidget() method used to be part of core, and it's now been turned into the extension included here.
2012-06-22 14:04:21 +12:00
Ingo Schommer
552a5006da MINOR Initial commit 2012-04-18 23:20:33 +02:00