Advanced search  

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

Pages: [1]   Go Down

Author Topic: can i make a template.php?  (Read 3323 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.026 seconds with 19 queries.