Custom CSS not copied over FTP

Custom CSS not copied over FTP

Postby KelseyThornton » Sat Apr 17, 2021 6:32 am

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?
KelseyThornton
Junior Member
 
Posts: 2
Joined: Sat Apr 17, 2021 5:11 am
Location: Netherlands

Re: Custom CSS not copied over FTP

Postby brooks_piggott » Sat Apr 17, 2021 9:37 am

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.
User avatar
brooks_piggott
Moderator
 
Posts: 3676
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: Custom CSS not copied over FTP

Postby KelseyThornton » Sat Apr 17, 2021 9:41 am

Thanks for the quick reply!
KelseyThornton
Junior Member
 
Posts: 2
Joined: Sat Apr 17, 2021 5:11 am
Location: Netherlands


Return to DDS: Pro Football 2021 General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests