PDA

View Full Version : CSS Filesheets overwriting


tdcdogg
02-12-2011, 01:45 PM
I use "store CSS filesheets", and every time I go to upload a new style or add a new product, it recashes my styles, which bases them on whatever is set in the admincp and deletes the existing .css files I have in my vbulletin_css folder.

So now I have to re-upload the old ones, using the new names, every time, or else the styles won't use the right css files and will look horrible.

Is there a way to just keep your existing css files stored without having them deleted and replaced every time?

Lynne
02-12-2011, 03:20 PM
You should NOT be editing your css files in the file system. All editing of the stylesheets should be done via the admincp.

tdcdogg
02-13-2011, 10:17 AM
But in the style manager in the ACP isn't reading the CSS files I have in my vbulletin_css folder. I tried changing permissions, but it didn't help.

I'd be fine with using the ACP instead of editing the files directly, but I can't get the ACP to recognize the proper CSS files to begin with.

If the software is storing these files, and editing them updates the styles, then why can't I get the ACP to read them?

Lynne
02-13-2011, 02:48 PM
The admincp doesn't read CSS from the files - it *writes* to those files and then your site reads from the files. The admincp gets the CSS from the database. You make changes to it and it saves it in both the database and the files.