Upgrading from 2.x to 3.0
Last updated Jul 22nd, 2022 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
- π modmore has contributed $5,260 to MODX
- π STERC has contributed $3,800 to MODX
- π Digital Penguin has contributed $720 to MODX
- π Jens Wittmann β Gestaltung & Entwicklung has contributed $500 to MODX
- π CrewMark has contributed $440 to MODX
- π Sepia River Studios has contributed $390 to MODX
- π Dannevang Digital has contributed $370 to MODX
- π Alex has contributed $300 to MODX
- π Murray Wood has contributed $180 to MODX
- π deJaya has contributed $170 to MODX
- π Anton Tarasov has contributed $165 to MODX
- π JT Skaggs has contributed $155 to MODX
- π Lefthandmedia has contributed $145 to MODX
- π eydolan has contributed $135 to MODX
- π Following Sea has contributed $130 to MODX
- π YJ has contributed $110 to MODX
- π Raffy has contributed $100 to MODX
- π Snow Creative has contributed $80 to MODX
Budget
$234 per monthβlet's make that $500!
Learn moreThis document details the changes made between 2.x and 3.0 that may affect upgrades. It's not a full list of all changes (see the changelog for that), but rather a reference of (breaking) changes that may affect extras and sites.
You may find a list of compatible extras on SiteDash.
Upgrade to 3.0ΒΆ
In general, you can follow the standard upgrading process when upgrading to 3.0. It's recommended to first upgrade to the latest 2.8 release for some time, which will log deprecated functionality your site may depend on to the MODX log.
After upgrading the core and upgrading your extras, you may encounter some breaking changes that need to be addressed in extras or custom code.
- β οΈ Important: the core folder must now always be located in the project root, and can no longer be renamed
- β οΈ Important: MODX 3.0 requires at least PHP 7.2
- β οΈ Important: sqlsrv support has been removed
- A list of breaking changes can be found here, most notably many core classes have been moved and renamed
- The manager language is now dynamic
- Various system settings have been removed or changed
Other notable changes and improvementsΒΆ
Manager/InterfaceΒΆ
- New template picker allows for easier resource creation #15535
- Redesigned installer #14507 and login #13773.
- Manager has been redesigned. Improved manager on mobile devices #14700, #14735. Changed resource styles in the tree #14832
- Language can now be switched on the fly #14046
- All manager permissions are automatically made available in
MODx.perm#13924, #14425 - Google translations are now disabled in the manager #14414
- More consistent resource/element duplication #14411
PackagesΒΆ
- Markdown is now parsed in package attributes (changelog/readme/license) #13853
Files & MediaΒΆ
- Media sources now use Flysystem #13709
- Core directories are now protected from being renamed/removed from the manager #14374
Resources & TemplatesΒΆ
- Resources can now get an icon based on their content type #14383
- New output modifiers related to files:
dirname,basename,filename,extensions#14198
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
- π modmore has contributed $5,260 to MODX
- π STERC has contributed $3,800 to MODX
- π Digital Penguin has contributed $720 to MODX
- π Jens Wittmann β Gestaltung & Entwicklung has contributed $500 to MODX
- π CrewMark has contributed $440 to MODX
- π Sepia River Studios has contributed $390 to MODX
- π Dannevang Digital has contributed $370 to MODX
- π Alex has contributed $300 to MODX
- π Murray Wood has contributed $180 to MODX
- π deJaya has contributed $170 to MODX
- π Anton Tarasov has contributed $165 to MODX
- π JT Skaggs has contributed $155 to MODX
- π Lefthandmedia has contributed $145 to MODX
- π eydolan has contributed $135 to MODX
- π Following Sea has contributed $130 to MODX
- π YJ has contributed $110 to MODX
- π Raffy has contributed $100 to MODX
- π Snow Creative has contributed $80 to MODX
Budget
$234 per monthβlet's make that $500!
Learn more