coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: hagar on January 31, 2004, 06:41:01 PM

Title: including php pages
Post by: hagar on January 31, 2004, 06:41:01 PM
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?
Title: including php pages
Post by: Casper on January 31, 2004, 08:09:27 PM
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.