anycontent.php anycontent.php
 

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

anycontent.php

Started by Mambocube, November 09, 2005, 05:52:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mambocube

how does this work?

say i want to include a custom header, do i just put in anycontent.php

<?php include('header.php'); ?>

?

but how do i then call to it in the header template?

Joachim Müller

no, you don't add it to anycontent.php if you want it to appear on all coppermine pages, not only indexes. The process of creating a custom header has been explained quite often, out of the top of my head I remember the thread http://forum.coppermine-gallery.net/index.php?topic=9863.msg44419#msg44419
However, you have to keep in mind that you mustn't do any http header manipulation nor stuff that is supposed to go into the <head> section. Use it for including an overall site navigation or similar.

Mambocube

sorry, i think uve misunderstood, i was just using header as an example

what im trying to ask is how i include a file using anycontent.php

what stages do i need to do?

thnx for the reply

Mambocube

sorry, ive just realised what anycontent.php is for

i thought it was for something else

never mind