-
-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback for dashboard widgets in custom manager theme (#16705)
### What does it do? Loads the dashboard widget templates from the default theme, if they don't exist in the custom manager theme. ### Why is it needed? The [documentation](https://docs.modx.com/current/en/building-sites/client-proofing/custom-manager-themes) states that "The Manager will fall back to the default theme templates for any that have not been overridden." This is currently not the case for the dashboard widgets (that load a Smarty template). ### How to test * Create a new folder in `manager/templates` for a custom manager theme and change the system setting `manager_theme`. * **DON'T** create copies of the files in `manager/templates/default/dashboard` in your own custom theme folder. * Make sure the dashboard widgets get displayed on the manager welcome page. ### Related issue(s)/PR(s) Related topic in the MODX forum: https://community.modx.com/t/manager-theme-customization-problem/8261
- Loading branch information
1 parent
db98407
commit 3c3f759
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters