including php pages including php pages
 

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

including php pages

Started by hagar, January 31, 2004, 06:41:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hagar

Hey,

i wanted to include headers and footers, so i first told coppermine to look for template.php in stead of template.html. no problems there. then i included my pages like this:

<?php include&#40;"path/header.php"&#41;?>

this does not seem to work. anyone there who knows how to do this?

Casper

Hi, if you want to include headers/footers, you should just include them in the 'contents of main page' in config, like this;
header/breadcrumb/catlist/alblist/footer

You should reset coppermine to template.html.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here