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: Update Non Main Page Template  (Read 4262 times)

0 Members and 1 Guest are viewing this topic.

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Update Non Main Page Template
« on: March 16, 2005, 07:13:08 pm »

Hi,
Was wondering is it possible to make seperate changes to album etc pages without affecting the layout of the main coppermine page.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Update Non Main Page Template
« Reply #1 on: March 16, 2005, 08:59:38 pm »

What kind of changes are you looking for?
Logged

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Update Non Main Page Template
« Reply #2 on: March 17, 2005, 03:09:01 pm »

I just want to have a banner displayed at the bottom of all the pages apart from the main one.
Logged

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Update Non Main Page Template
« Reply #3 on: March 18, 2005, 10:43:48 am »

bump :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Update Non Main Page Template
« Reply #4 on: March 18, 2005, 10:51:12 am »

themes/yourtheme/template.html
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Update Non Main Page Template
« Reply #5 on: March 18, 2005, 05:19:29 pm »

The thing with editing template.html is that it would affect the first page, which kingspice wanted to make different than the rest.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Update Non Main Page Template
« Reply #6 on: March 18, 2005, 06:13:31 pm »

for more details, he'd have to post details on what he was trying to accomplish exactly...

Joachim
Logged

kingspice

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Update Non Main Page Template
« Reply #7 on: March 19, 2005, 09:30:56 pm »

Sorry thought I had made it clear,

I'd like to make it so that a graphic is displayed on all coppermine pages except coppermine/index.php.
Editting template.html reflects all pages.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Update Non Main Page Template
« Reply #8 on: March 20, 2005, 12:09:49 pm »

best bet would be to add some code into theme.php with an if-clause, checking for $cat != 0

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.