forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Philcomputing on January 05, 2006, 04:24:46 pm

Title: PHP include does not work within templates
Post by: Philcomputing on January 05, 2006, 04:24:46 pm
Hi,

I do have an issue with my template.
Because one can not include coppermine into a blog I used the CSS file of my blog as the basic template of coppermine.

Unfortunately I am not able to use php include within my coppermine template

Code: [Select]
<? include("http://www.XYZ.org") ?>
Thank you in advance, Phil

My site can be found here: [url ]http://www.sassen.org/log/shots/index.php[/url]:
Title: Re: PHP include does not work within templates
Post by: Joachim Müller on January 05, 2006, 04:52:07 pm
expected behaviour - php in the template file isn't being parsed - search the board for custom header or upgrade to cpg1.4.x
However, you mustn't include coppermine into another page nor vice versa, you can only inlcude bits like a navigation or a logo.
Title: Re: PHP include does not work within templates
Post by: Philcomputing on January 05, 2006, 05:00:40 pm
Thank you gaugau,

does cpg1.4.x support php include?

Best regards, Phil
Title: Re: PHP include does not work within templates
Post by: Joachim Müller on January 05, 2006, 05:25:07 pm
In cpg1.4.x, there's a custom footer and header include that can be set in coppermine's config, yet you can't include all types of files.