forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Mambocube on November 09, 2005, 05:52:57 pm

Title: anycontent.php
Post by: Mambocube on November 09, 2005, 05:52:57 pm
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?
Title: Re: anycontent.php
Post by: Joachim Müller on November 09, 2005, 06:06:09 pm
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.
Title: Re: anycontent.php
Post by: Mambocube on November 09, 2005, 06:45:51 pm
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
Title: Re: anycontent.php
Post by: Mambocube on November 09, 2005, 08:45:09 pm
sorry, ive just realised what anycontent.php is for

i thought it was for something else

never mind