including php pages including php pages
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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