including php pages including php pages
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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