Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Where is the current theme identity stored?  (Read 8020 times)

0 Members and 1 Guest are viewing this topic.

modshots

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Where is the current theme identity stored?
« on: April 11, 2005, 10:55:32 pm »

I changed the theme from the config screen, but the new theme (transmission) has a bug in it. Consequently I can't now get into the config screen to change it back to something that works!

Can someone tell me where in which file the current theme is stored so I can go in manually and change it by hand, or give me another clue how to restore a working theme?

I presume there's a configuration file, but just looking through the files either I missed it or it wasn't obvious which one it was

Any help would save me a lot of time digging though the code tyring to find it.

Thanks.
« Last Edit: April 14, 2005, 05:22:17 am by TranzNDance »
Logged

Nibbler

  • Guest
Re: Where is the current theme identity stored?
« Reply #1 on: April 11, 2005, 11:21:08 pm »

There are 3 ways that coppermine decides what theme to show you:

1. based on the current config setting - stored in the database - (_config table)
2. based on a cookie that contains your preference.
3. based on a parameter passed in the url, eg. www.yoursite.com/index.php?theme=classic

If you ever have probs with a theme you can just add ?theme=classic to end of your gallery url and it will set the theme to classic (for you only)
Logged

modshots

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Where is the current theme identity stored?
« Reply #2 on: April 14, 2005, 04:58:45 am »

Many thanks. That helped me recover from the problem!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.