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: theme.php editing  (Read 3679 times)

0 Members and 1 Guest are viewing this topic.

viper12

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
theme.php editing
« on: February 13, 2006, 12:57:11 am »

Hi,

Just installed the new version, and i wanted to edit my theme.php but where can i find the code.. the theme.php in my themes/classic is empty.. normally there would be code in it.

Greetings, Dj viper
Logged

Nibbler

  • Guest
Re: theme.php editing
« Reply #1 on: February 13, 2006, 12:59:10 am »

Copy any code you want to modify from include/themes.inc.php into your theme's theme.php and modify your copy.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: theme.php editing
« Reply #2 on: February 13, 2006, 09:36:33 am »

@Nibbler: imo we shouldn't focus end user's views on include/themes.inc.php, but themes/sample/theme.php and advice them to copy code from there.
Logged

viper12

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: theme.php editing
« Reply #3 on: February 13, 2006, 11:26:31 am »

Hi,

Oke... i will try it... think i will manage it...

Greetings, Dj Viper
Logged

viper12

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: theme.php editing
« Reply #4 on: February 13, 2006, 05:25:27 pm »

Hi,

Just came to the conclusion that in the download package was a theme file of the classic version from

 Coppermine version: 1.4.3
  $Source: /cvsroot/coppermine/stable/themes/classic/theme.php,v $
  $Revision: 1.13 $
  $Author: donnoman $
  $Date: 2005/12/04 03:22:35 $

And lot's of code about filmstrip...

What does this code do exactly..

Also noticed that the ecard was disabled in this code apperently.. when you are not logged in as a user..

Greetings, Dj Viper
« Last Edit: February 13, 2006, 05:44:38 pm by viper12 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: theme.php editing
« Reply #5 on: February 13, 2006, 05:45:09 pm »

take a look at themes/sample/theme.php as I suggested. Copy the stuff you need over from it. Ecards are being disabled/enabled in coppermine's groups page - not related to themeing.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.