forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Mully on June 20, 2005, 06:03:23 pm

Title: Include Gallery into existing php page.... how to...
Post by: Mully on June 20, 2005, 06:03:23 pm
I have very little knowledge of php, since i mainly do designing for web pages.  However i was aware that it was possible to include php pages, like the index page for the gallery, into an existing page which i previously designed for holding galleries.

So is it possible to 'include' the gallery into an existing php page?

Im currently playing with an iframe, if that fails, ill have to redesign the header and just make my own template, but that might prove more difficult than i imagine.

Any help would be appreicated.
Title: Re: Include Gallery into existing php page.... how to...
Post by: Nibbler on June 20, 2005, 06:21:39 pm
Making your own theme is the recommended way. Add the html from the old page into the template.html.
Title: Re: Include Gallery into existing php page.... how to...
Post by: vuud on June 20, 2005, 07:35:52 pm
I have very little knowledge of php, since i mainly do designing for web pages.  However i was aware that it was possible to include php pages, like the index page for the gallery, into an existing page which i previously designed for holding galleries.

So is it possible to 'include' the gallery into an existing php page?

Im currently playing with an iframe, if that fails, ill have to redesign the header and just make my own template, but that might prove more difficult than i imagine.

Any help would be appreicated.


Mully, yeah - making a theme out of your site is not all that bad.  The CSS can be a little icky at first if you are changing all that, but overall its not a bad process.

I did that on my site http://www.fistfullofcode.com ... 

Hope that helps



Title: Re: Include Gallery into existing php page.... how to...
Post by: Mully on June 20, 2005, 07:54:58 pm
Cheers! I just customized an existing theme then included my default header. Messy css file now, but it looks much better than an iframe :D