News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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