including php pages including php pages
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

including php pages

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

Previous topic - Next topic

0 Members and 2 Guests 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