[Solved]: Why almost empty theme.php? [Solved]: Why almost empty theme.php?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Why almost empty theme.php?

Started by Magnus Lonnegren, March 03, 2008, 06:57:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Magnus Lonnegren

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

SaWey


Magnus Lonnegren

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.

Joachim Müller

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.