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: [Solved]: Why almost empty theme.php?  (Read 2739 times)

0 Members and 1 Guest are viewing this topic.

Magnus Lonnegren

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
[Solved]: Why almost empty theme.php?
« 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
« Last Edit: March 04, 2008, 12:01:57 pm by SaWey »
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: Why almost empty theme.php?
« Reply #1 on: March 03, 2008, 10:22:57 pm »

Try reading the docs
Logged

Magnus Lonnegren

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Why almost empty theme.php?
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Why almost empty theme.php?
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.