coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Avner on November 17, 2004, 05:34:24 AM

Title: Header problem !! please help !!
Post by: Avner 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
Title: Re: Header problem !! please help !!
Post by: donnoman 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
Title: Re: Header problem !! please help !!
Post by: Avner 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
Title: Re: Header problem !! please help !!
Post by: Joachim Müller 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