Alright,
I do not want my CSS files turned into PHP files. I just want CSS files that I can manipulate and work with without having to update the database each time I make a change.
In my templates folder, I have a CSS folder with 960 CSS framework, and a default.css file.
In the AdminCP, in the template section, I clicked on “New Template” and chose CSS as the file type, “default” as the name, and checked “Use a template from your library” and selected the default.css as the file to reference.
Inside index.php I have
{assign_variable:my_template_group="my_template"}
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet={my_template_group}/default}' />Well, now default.css works - until I modify default.css on my system.
I edit default.css in the AdminCP and it still shows the old settings.
If I click “save template as file” - well, now it’s a PHP file saved in the template root, not in my CSS folder.
hope this makes sense what I’m doing. Hope someone can help.
Thanks 😊