coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: viper12 on February 13, 2006, 12:57:11 AM

Title: theme.php editing
Post by: viper12 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
Title: Re: theme.php editing
Post by: Nibbler 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.
Title: Re: theme.php editing
Post by: Joachim Müller 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.
Title: Re: theme.php editing
Post by: viper12 on February 13, 2006, 11:26:31 AM
Hi,

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

Greetings, Dj Viper
Title: Re: theme.php editing
Post by: viper12 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
Title: Re: theme.php editing
Post by: Joachim Müller 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.