theme.php editing theme.php editing
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

theme.php editing

Started by viper12, February 13, 2006, 12:57:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

viper12

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

Nibbler

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

Joachim Müller

@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.

viper12

Hi,

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

Greetings, Dj Viper

viper12

#4
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

Joachim Müller

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.