PHP include does not work within templates PHP include does not work within templates
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

PHP include does not work within templates

Started by Philcomputing, January 05, 2006, 04:24:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Philcomputing

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

<? 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]:

Joachim Müller

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.

Philcomputing

Thank you gaugau,

does cpg1.4.x support php include?

Best regards, Phil

Joachim Müller

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.