[solved]: PHP Header Help [solved]: PHP Header Help
 

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

Main Menu

[solved]: PHP Header Help

Started by zeroknowledge, February 20, 2004, 08:14:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zeroknowledge

Hello,
     I would like to add a php header to coppermine. What would be the best way of going about this? Is there a tutorial on this? I've searched both your site and google and can't I can't come up with anything I comprehend.

Thanks in advance for your help.

-Zero

moorey

theme.php for php stuff, template.html stuff. There are some "mods" that allows both of them to be intermixed/renamed.. generally workable, but not entirely recommended, but do give it a go though - you'd learn a lot :)

zeroknowledge

So adding this
http://partyornot.net/header.php

to this

http://www.partyornot.net/coppermine/

would require a mod? Do you happen to know what the "mods" name is?
Why wouldn't a include (sorry, I'm no programmer) type of statement work?

Thanks for the speedy reply above.

-Zero


zeroknowledge

Thanks so much for the help. I'll give it a shot and report back on how I do.

zeroknowledge

I wasn't able to get that "code" to work for me. I got a parse and a fatal error.

Parse error: parse error, expecting `','' or `';'' in /home/partyorn/public_html/coppermine/themes/black_widdow/theme.php on line 774

Fatal error: Call to undefined function: pageheader() in /home/partyorn/public_html/coppermine/index.php on line 439


I found this thread and tryed some of thier suggestions but it still doesn't work.

http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=701

Does anyone have any suggestions on what I should do?

P.S.- I was bright enough to get my background to work. That was easy.

-Zero

zeroknowledge

I got it to work. I'm not sure how but it works and that's whats important.

Thanks everybody for the help.