Page 1 of 1

Custom CSS not copied over FTP

PostPosted: Sat Apr 17, 2021 6:32 am
by KelseyThornton
Problem
I have an online league (for testing purposes), and have added some custom CSS in the league options.

To test out my custom CSS, I developed it offline, by manually copying the file (using FTP) to the league 'Styles' folder on my site.

When I hit the "upload" button, however, only the default CSS is coped.
This happens *every* time I hit the "upload" button (I can see the date of the file on the server changing).

Investigation
Looking at the "HTML\Styles" folder under "DDS PF21" in my documents folder, I see that this isn't being updated, but if I update it manually, then these modifications *do* get uploaded.

Conclusions
This behaviour would lead me to believe that the changes I make on the "Custom CSS" tab in-game are not being written to the hard disk.
Is this, perhaps, because my user folders are on a network drive?

Re: Custom CSS not copied over FTP

PostPosted: Sat Apr 17, 2021 9:37 am
by brooks_piggott
Yea, I see the issue in the code. For now you'll have to update your .css in the game (so that in cases where it does re-create the custom file it will use your values), and you'll have to manually update the custom.css file in your styles folder so that when it uploads it uses your values.

Re: Custom CSS not copied over FTP

PostPosted: Sat Apr 17, 2021 9:41 am
by KelseyThornton
Thanks for the quick reply!