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

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

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