coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Magnus Lonnegren on March 03, 2008, 06:57:45 PM

Title: [Solved]: Why almost empty theme.php?
Post by: Magnus Lonnegren on March 03, 2008, 06:57:45 PM
I was instructed to replace my earlier theme to a new clean one after upgrading to 1.4 and got a template error (see http://forum.coppermine-gallery.net/index.php/topic,50874.0.html).

Now everything works, but I want to modify some buttons/links in the menus etc, but in my theme.php for the theme "Water Drop", there are no things to change! The file is 1.0 kB and the content is:

Quote<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2008 Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3
  as published by the Free Software Foundation.
 
  ********************************************
  Coppermine version: 1.4.16
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/water_drop/theme.php $
  $Revision: 4233 $
  $Author: gaugau $
  $Date: 2008-02-02 09:23:58 +0100 (Sa, 02 Feb 2008) $
**********************************************/

define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
                                           // you have validated it. See docs/theme.htm.

// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='<img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />';

?>

Where is all the code that I can do modifications to?? Am I like, stupid, or something beacause I can't find it? :P
Title: Re: Why almost empty theme.php?
Post by: SaWey on March 03, 2008, 10:22:57 PM
Try reading the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_sample)
Title: Re: Why almost empty theme.php?
Post by: Magnus Lonnegren on March 04, 2008, 08:11:21 AM
Yes, found this after a while, but it was not really intiutive. Why not write how to do also in the theme.php-file? Well, this thread is solved.
Title: Re: Why almost empty theme.php?
Post by: Joachim Müller on March 04, 2008, 08:13:45 AM
We assume that our users read the docs before asking questions on the board. In fact, that's even a board rules that you agreed to respect when signing up.