You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like this idea but I wonder about what the default path would be for admin.js for example. Personally I put all admin related things in /site/templates/admin/ as to me /site/templates/ without a subdir is more frontend and php specific.
But at the same time if you look at it another way, it does follow ProcessWire conventions that a .php and .js file would be in the same directory (ie /site/templates/admin.php which is the default admin file, meaning admin.js should stay in /site/templates/).
I suppose having the path be configurable would be recommended (similar to $config->AdminThemeUikit).
ProcessWire already loads the following files in the backend
It would be great if it could also load
automatically for all kinds of backend javascript modifications where it would be overkill to create an autoload module that loads those stylesheets.
The text was updated successfully, but these errors were encountered: