Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I am trying to find a function that seems to only appear in 2.4 called `set_loading_image` http://api.silverstripe.org/2.4/source-class-LeftAndMain.html#1232-1237
If you swap to the 3.0 / 3.1 docs it disappears and cannot see it in the deprecation logs.
Any one know if it was renamed or removed all together or how you now achieve changing the CMS' loading image?
It has been removed. You should either set the loading page by providing a custom template (CMSLoadingScreen) or simply by providing an additional CSS file through LeftAndMain::extra_requirements_css and overriding the .ss-loading-screen .loading-logo selector with your file.
Brilliant, thank you.
Where in the documentation does it explain this? Just so if I come across something like this again I know where to look for changes.
It should have been in the change logs but I can't find any reference to it. The only place would be in the git history, generally API's won't be removed without a note in the change logs.