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: Header problem !! please help !!  (Read 3235 times)

0 Members and 1 Guest are viewing this topic.

Avner

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Header problem !! please help !!
« on: November 17, 2004, 05:34:24 am »

Hi all !

I added this line to the theme.php so it will have the header.php of my site.

'{CUSTOM_HEADER}' =>  "<?php include('http://pctip.co.il/includes/look/header.php'); ?>" ,

but on the gallery nothing appears. 
If I write   '{CUSTOM_HEADER}' =>  "123 Hello world" ,  all works fine and I see the 123 Hello world .

please help me,

Thanks,
Avner
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Header problem !! please help !!
« Reply #1 on: November 17, 2004, 05:46:24 am »

A good example is in the FAQ

It's got everything you need in there.

http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader
Logged

Avner

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Header problem !! please help !!
« Reply #2 on: November 17, 2004, 05:54:49 am »

ya,

this is exactly what Ive done...

but it doesn't show the php header (normal text is shown)


Avner
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Header problem !! please help !!
« Reply #3 on: November 17, 2004, 07:45:22 am »

you can not include anything, only very limited things (don't touch the file header etc.). Having a custom header to visually blend coppermine into your site is just wishfull thinking in most cases and requires good php skills to accomplish. With seeing the actual code there's little that can be done.

Posting a support request on the general discussion board is not a good idea, since the description text of this particular sub-board says that you mustn't. You'll only get some general answers here, not actual support. Not respecting board rules makes supporters reluctant to help.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.