Advanced search  

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]

Pages: [1]   Go Down

Author Topic: including php pages  (Read 2417 times)

0 Members and 1 Guest are viewing this topic.

hagar

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
including php pages
« 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:

Code: [Select]
<?php include&#40;"path/header.php"&#41;?>

this does not seem to work. anyone there who knows how to do this?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
including php pages
« Reply #1 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;
Code: [Select]
header/breadcrumb/catlist/alblist/footer

You should reset coppermine to template.html.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 14 queries.