Commit Graph

25 Commits

Author SHA1 Message Date
Robbie Averill
34b3fbf04d FIX Subsites VirtualPage link to edit main page and TreeDropdownField API implementations 2018-01-30 16:21:45 +13:00
Ingo Schommer
cf534aad31 BUG Subsites selection on SubsitesVirtualPage (fixes #45 and #47) 2015-11-13 17:31:44 +13:00
Simon Welsh
9192954596 Use correct jQuery variable 2013-07-11 17:31:59 +12:00
Ingo Schommer
99d242f3ae Fixed JS indentation 2013-07-10 12:30:55 +02:00
Ingo Schommer
82f1d980e8 Merge remote-tracking branch 'origin/0.3'
Conflicts:
	code/SubsiteAdmin.php
	code/extensions/LeftAndMainSubsites.php
	code/extensions/SiteTreeSubsites.php
	code/model/Subsite.php
	composer.json
	javascript/SubsitesTreeDropdownField.js
	lang/en_US.php
	tests/SubsiteAdminTest.php
	tests/SubsiteTest.php
	tests/SubsiteTest.yml
	tests/SubsitesVirtualPageTest.php
2013-01-03 21:03:26 +01:00
Ingo Schommer
18bcda48d3 BUG Allow usage of SubsiteTreeDropdownField when SubsiteID is set in PHP, not through CopyContentFromID dropdown 2013-01-03 14:10:30 +01:00
UndefinedOffset
598b0253f5 BUG: Coding convention updates 2012-07-16 11:21:30 +12:00
Ed
2ef72b374c BUG: Modifying the module to work with SS 3.0
Replaced deprecated DataObjectDecorator with DataExtension

Fixed hard crashes in the cms

Updated to support new LeftAndMain template structure

Made the subsites model admin functional

Moved the LeftAndMain_Menu template up a directory so it overrides the core

Fixed some errors caused by changes to the framework

Re-organized the code folder

Fixed permission issue causing to default to first subsite regardless if it is the default or not

Fixed crashes on the subsite virtual page when creating/editing

Removed toDropdownMap() calls replacing with map()

Fixed the URLSegment field on subsites

Fixed error when detecting subsite for a domain

Improved styles on the subsite dropdown

Updated LeftAndMain_Subsites.js to work with jQuery entwine

Started porting the SubsitesTreeDropdownField.js to use jQuery entwine and work with the new TreeDropdownField.js

Fixed issue causing crash when viewing a page who is linked to by a subsite virtual page

Removed unused methods on SubsitesTreeDropdownField.js

Re-added classes that were moved

Fixed hard crash after saving caused by the many_many definition on SiteTreeSubsites

Replaced deprecated DataObjectSet creation with ArrayList

Compatibility fixes with SS 3.0 beta 2

Fixed crash in cms caused by no parameter being passed to the SubsiteReportWrapper constructor

Proper fix for report wrapper

Removed table list field in favor of a basic grid field

Fixed updateCMSFields() for file subsites

Migrated translations to yml

Fixed issue causing the current page to not get cleared when changing subsites in the cms

Fixed virtual page icon

Fixed language files issue
2012-07-16 11:18:38 +12:00
Tom Rix
ee11811d02 BUGFIX: Fixed bug with ajax-expansion of subsite tree dropdown. (from r97514) 2010-03-01 22:34:12 +00:00
Tom Rix
7d9b6fa9bf MINOR bring back in line with the TreeDropdownField JS API (from r96462) 2010-03-01 22:34:03 +00:00
Tom Rix
5e5dbff1d4 BUGFIX: Fixed ajax fetching of SubsiteTreeDropdownField (from r90007) (from r96325) 2010-03-01 22:28:36 +00:00
Tom Rix
e7add11e4e BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) (from r96318) 2010-03-01 22:21:55 +00:00
Tom Rix
60fa55d54f BUGFIX: Fixed ajax refresh of SubsitesTreeDropdownField (see http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/205) (from r88936) (from r96293) 2010-03-01 22:06:15 +00:00
Tom Rix
39421cbb73 BUGFIX: Improve stability of page dropdown on SubsitesVirtualPages (from r86097) (from r96275) 2010-03-01 21:56:55 +00:00
Tom Rix
df1eb95a2a BUGFIX: Fixed ajax fetching of SubsiteTreeDropdownField (from r90007) 2010-03-01 21:39:14 +00:00
Tom Rix
0ba7ee6b17 BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) 2010-03-01 21:38:32 +00:00
Tom Rix
2012a2b879 BUGFIX: Fixed ajax refresh of SubsitesTreeDropdownField (see http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/205) (from r88936) 2010-03-01 21:26:44 +00:00
Tom Rix
f7dba96157 MERGE subsite treedropdown fix from trunk (from r86329) 2010-03-01 03:05:13 +00:00
Tom Rix
9e63443b97 BUGFIX: Improve stability of page dropdown on SubsitesVirtualPages (from r86097) 2010-03-01 03:04:29 +00:00
Tom Rix
4801838dd0 MINOR JS bug (missing ')')
MINOR check that SiteTree exists before trying to write to it (from r82342)
2010-03-01 02:55:38 +00:00
Tom Rix
b40af7d2e3 BUGFIX missing ( (from r82327) 2010-03-01 02:55:09 +00:00
Saophalkun Ponlu
37f29d46a3 BUFIX: SubsiteTreeDropdownField's ajaxExpansion for tree item didn't work. Kudo to Hamish 2009-08-13 05:23:16 +00:00
Saophalkun Ponlu
5406ab5b60 BUGFIX: Fixed SubsitesVirtualPage operation for the main site, and fixed selection of currently selected value. 2009-07-30 02:11:02 +00:00
Sam Minnee
3993cf6fe4 BUGFIX: Improved support for subsites trunk with 2.2.2
ENHANCEMENT: Got 'Is Default Site' checkbox actually working; if used the main site option is removed from the sites list when editing content.
API CHANGE: Added $subsite->absoluteBaseURL(), as a subsite-specific equivaent of Director::absoluteBaseURL()
2008-12-04 21:36:06 +00:00
Ingo Schommer
e17ecfbdee FEATURE Support for VirtualPage-style linkage between subsites with new SubsiteVirtualPage class
ENHANCEMENT Allowing to select a subsite explicitly through admin-URLs, e.g. /admin/show/22/?SubsiteID=2
2008-12-02 03:50:06 +00:00