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: can i make a template.php?  (Read 3070 times)

0 Members and 1 Guest are viewing this topic.

newyuppie

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
can i make a template.php?
« on: February 03, 2006, 08:27:13 pm »

instead of using template.html could i just grab one of my index.php pages of my site and add {GALLERY} where i need the gallery to show? how could this be accomplished?
Logged

Nibbler

  • Guest
Re: can i make a template.php?
« Reply #1 on: February 03, 2006, 08:32:23 pm »

You can't use php in the template. Just make a theme that matches the rest of your site.
Logged

newyuppie

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: can i make a template.php?
« Reply #2 on: February 03, 2006, 08:44:33 pm »

thanks for the response

is there some PHP function that i could include in one of my .php pages of my site that will simply call the gallery? (like using the word {GALLERY} on the template.html) I won't be needing all of the gallery's functionality anyway
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: can i make a template.php?
« Reply #3 on: February 03, 2006, 09:05:10 pm »

No, you can't include Coppermine into another page.  If you want to just display some images from Coppermine, you can use a mod like CPGFetch.  Otherwise, you'll have to design a theme to match your site.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.12 seconds with 15 queries.