anycontent.php anycontent.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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