02-11-2019, 09:44 AM
OK, I figured out what's going on here. users/css/custom.css is the 3rd default css location, as set in the db field settings.us_css3. This location is put in the db by default during installation. I proposed that we default to usersc/css/custom.css instead, so that we don't encourage people to put code in users/ that could be overwritten by an update.
On another note, I can't find any way to get to the UI to change this value, so I had to edit the field directly in the database. There is an admin view called _admin_css_settings.php that allows this setting to be changed, but I can't find anywhere in 4.4 where you can navigate to this view. If you look in admin.php, nothing includes _admin_css_settings.php. I remember that you could do this in 4.3, so this appears to be a regression.
So there's 2 issues to be fixed: default to usersc/css/custom.css for the 3rd css location, and provide access in the UI to see/change those css locations.
On another note, I can't find any way to get to the UI to change this value, so I had to edit the field directly in the database. There is an admin view called _admin_css_settings.php that allows this setting to be changed, but I can't find anywhere in 4.4 where you can navigate to this view. If you look in admin.php, nothing includes _admin_css_settings.php. I remember that you could do this in 4.3, so this appears to be a regression.
So there's 2 issues to be fixed: default to usersc/css/custom.css for the 3rd css location, and provide access in the UI to see/change those css locations.