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

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

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.