Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would it be possible to place the css_injector_X.css-files in a separate folder inside files/?
This to make the files/-folder cleaner and more organized.
Maybe it could be called css_injector? (I am creative today...:P)
Comments
Comment #1
klonos...also custom names for saved files would be great. Filenames should be auto-generated only if user has not provided a name and that auto-generated name should be created based on the rule's title.
Comment #2
klonos1. Provide a per rule option (text field) to provide a custom filename instead of the hard-coded template
css_injector_#.css
(where '#' an incrementing number). There should also be a way for the current files to be renamed if this field is changed through the UI.Sometimes one might want to manually edit their created .css files. When done through the css_injector UI it's easy to spot them, since they have a custom name/title. If one tries to do this directly from the command line or by using their ftp client, they have to go through each file and see which is for what. Adding comments to the files during creation helps a bit, but still one has to open them one-by-one till they find which one they were after.
2. Global css_injector setting for the default path where rules will be saved.
Some might not like the default hardcoded
sites/default/files/css_injector/
location and require to changed it to one that suits them better.Comment #3
JieXiannn CreditAttribution: JieXiannn commented+1, It's a lot faster and easiy/familiar to edit css with a text editor of our choice, but the inability to select a custom name for our css files and sticking with css_injector_#.css inhibits that, and I'm forced to only use the drupal UI to edit my css files