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: anycontent.php  (Read 4953 times)

0 Members and 1 Guest are viewing this topic.

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
anycontent.php
« 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?
« Last Edit: November 10, 2005, 07:19:54 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: anycontent.php
« Reply #1 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.
Logged

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: anycontent.php
« Reply #2 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
Logged

Mambocube

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: anycontent.php
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.