forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: newyuppie on February 03, 2006, 08:27:13 pm

Title: can i make a template.php?
Post by: newyuppie 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?
Title: Re: can i make a template.php?
Post by: Nibbler 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.
Title: Re: can i make a template.php?
Post by: newyuppie 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
Title: Re: can i make a template.php?
Post by: kegobeer 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.