Advanced search  

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

Pages: [1]   Go Down

Author Topic: anycontent.php  (Read 5032 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.017 seconds with 19 queries.