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: Variables in theme  (Read 2854 times)

0 Members and 1 Guest are viewing this topic.

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Variables in theme
« on: April 28, 2006, 01:18:04 am »

Hi.

Im using the variable {PIC_TITLE} in my theme.php, but i was wondering if there is one for the album and/or catname aswell ?

Cheers
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Variables in theme
« Reply #1 on: April 28, 2006, 09:13:00 am »

if you pass it to the template, then you have it

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Variables in theme
« Reply #2 on: April 28, 2006, 09:50:16 am »

the stuff in curly brackets actually aren't vars, but just placeholders.
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Variables in theme
« Reply #3 on: April 30, 2006, 09:54:30 pm »

Hope this works, wasnt able to post in FF, this is Netscape (OSX)

How would i pass the placeholders on to the theme.php ?
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.