forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Wladimir on January 08, 2007, 02:31:47 pm

Title: Embbading coperming gallery into PHP page
Post by: Wladimir 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!
Title: Re: Embbading coperming gallery into PHP page
Post by: Nibbler 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.
Title: Re: Embbading coperming gallery into PHP page
Post by: Wladimir on January 08, 2007, 04:02:09 pm
So what should i do to embad my gallery?
Title: Re: Embbading coperming gallery into PHP page
Post by: Nibbler on January 08, 2007, 04:20:10 pm
Create a theme that matches your site.