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: Include Gallery into existing php page.... how to...  (Read 3368 times)

0 Members and 1 Guest are viewing this topic.

Mully

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Include Gallery into existing php page.... how to...
« 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.
« Last Edit: June 30, 2005, 11:13:47 am by GauGau »
Logged

Nibbler

  • Guest
Re: Include Gallery into existing php page.... how to...
« Reply #1 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.
Logged

vuud

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Include Gallery into existing php page.... how to...
« Reply #2 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



Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Include Gallery into existing php page.... how to...
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.