Include Gallery into existing php page.... how to... Include Gallery into existing php page.... how to...
 

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]

Main Menu

Include Gallery into existing php page.... how to...

Started by Mully, June 20, 2005, 06:03:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mully

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.

Nibbler

Making your own theme is the recommended way. Add the html from the old page into the template.html.

vuud

Quote from: 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.


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



Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Mully

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