Using Colorpicker in 5.7 problem. And why the core still uses the old approach?
Permalink
Hi
I found out that the core pages use the old approach
Not the new one:
which should be followed?
I found out that the core pages use the old approach
Loader::helper('form/color')->output('background','#000000');
Not the new one:
Core::make('helper/form/color')->output('background','#000000');
which should be followed?
On 5.7.+, use 'make'.
(on pre 5.7 sites, 'make' does not exist, so you still need to use 'loader helper')