Custom css storage

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
roshambo
Bear Rating Trainee
Bear Rating Trainee
Posts: 35
Joined: 19 Jun 2013, 20:03

Custom css storage

Postby roshambo » 29 Sep 2013, 04:14

I made a mistake with .dijit {display: none !important} and it hid the custom css button in preferences along with a shitload of other things.

Grepping the ttrss directory for text resulted in nothing. Deleting cookies didn't work.

Where is the custom css stored? Or is there some other way to recover from such disaster?

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: Custom css storage

Postby sleeper_service » 29 Sep 2013, 04:39

you never fail to deliver.

AngryChris
Bear Rating Master
Bear Rating Master
Posts: 135
Joined: 08 Apr 2013, 02:42

Re: Custom css storage

Postby AngryChris » 29 Sep 2013, 04:56


User avatar
LifeWOutMilk
Bear Rating Disaster
Bear Rating Disaster
Posts: 52
Joined: 02 Apr 2013, 21:57

Re: Custom css storage

Postby LifeWOutMilk » 29 Sep 2013, 06:06

Every desktop browser lets you modify CSS on a page dynamically, did you try that?

vilain
Bear Rating Trainee
Bear Rating Trainee
Posts: 40
Joined: 29 Jun 2013, 08:57

Re: Custom css storage

Postby vilain » 29 Sep 2013, 08:22

The custom CSS entries that you saw on the preferences page are an entry in the ttrss_user_prefs table.
pref_name="USER_STYLESHEET"
value=NULL or whatever you entered

You'll need a database tool that can retrieve and edit records either in PostgreSQL or MySQL. Both phpPgAdmin and phpMyAdmin can do this if you have them setup on your server. Otherwise, you're kinda out of luck.

AngryChris
Bear Rating Master
Bear Rating Master
Posts: 135
Joined: 08 Apr 2013, 02:42

Re: Custom css storage

Postby AngryChris » 29 Sep 2013, 08:38


roshambo
Bear Rating Trainee
Bear Rating Trainee
Posts: 35
Joined: 19 Jun 2013, 20:03

Re: Custom css storage

Postby roshambo » 29 Sep 2013, 10:10

Thanks for the suggestions. I was able to resolve it with chrome dev tools. If it happens again, I'll try phppgadmin.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 11 guests