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: Embbading coperming gallery into PHP page  (Read 2921 times)

0 Members and 1 Guest are viewing this topic.

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Embbading coperming gallery into PHP page
« on: January 08, 2007, 02:31:47 pm »

Well, I found this topic http://forum.coppermine-gallery.net/index.php?topic=38955.0
but that's HTML page, I want to ask you how can I embad gallery into PHP page with include() command

I tried juts <?php include(gallery/index.php ?> but it doesn't work corectly, because it doesn't show images, files, it's just plain text, and I thought that it must be in same directory where is the page I included gallery... I'll expplane if you don't understand  ;D

My gallery path: http://www.domain.com/gallery/index.php
My site default: http://www.domain.com/index.php

I want to gallery/index.php to index.php

when I type include(gallery/index.php) it show gallery index but not the files...

Please help and thanks for reading!
Logged

Nibbler

  • Guest
Re: Embbading coperming gallery into PHP page
« Reply #1 on: January 08, 2007, 03:20:07 pm »

You can't include() Coppermine, it doesn't work like that. Please search the board before posting.
Logged

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Re: Embbading coperming gallery into PHP page
« Reply #2 on: January 08, 2007, 04:02:09 pm »

So what should i do to embad my gallery?
Logged

Nibbler

  • Guest
Re: Embbading coperming gallery into PHP page
« Reply #3 on: January 08, 2007, 04:20:10 pm »

Create a theme that matches your site.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.