coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: mulesnx on April 06, 2004, 07:55:00 AM

Title: [Solved]: How would one include a different header?
Post by: mulesnx on April 06, 2004, 07:55:00 AM
I would like to put my site's header above the gallery.  I am kind of new at this, and tried something but there was an error saying that the headers were already sent out!  


Where would I include a php file for a gnarley header?
Title: [Solved]: How would one include a different header?
Post by: Joachim Müller on April 06, 2004, 08:24:47 AM
if you need to include a php file, go to http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader

But the error you got "Cannot add header information - header was already sent ... in" usually means that you tried to send data before the http header (cookies and such stuff) was sent - see http://coppermine.sourceforge.net/faq.php?q=commonPHP errors#commonPHP errors
Make sure you don't include another <head>...</head> area.

GauGau
Title: [Solved]: How would one include a different header?
Post by: mulesnx on April 06, 2004, 09:22:27 AM
it worked!  I had to remove the "static" from the third line, but it worked!

Thanks